[% SET CPANEL.CPVAR.dprefix = "../../" %] [% Api2.pre_exec("SSH", "listkeys"); SET listkeys = Api2.exec("SSH", "listkeys", {"types"=>"pub"} ); Api2.post_exec("SSH", "listkeys"); Api2.pre_exec("SSH", "listkeys"); SET list_priv_keys = Api2.exec("SSH", "listkeys", {"types"=>"priv"} ); Api2.post_exec("SSH", "listkeys"); %] [% WRAPPER '_assets/master.html.tt' app_key = 'ssh_access' -%]
[% locale.maketext("The public and private key are similar to a puzzle. They are created together to use during the login/authentication process. The public key resides on the server (the remote location). The private key resides locally on your computer/server. When you attempt to login to a server, the public and private key are compared. If they match, then you will be allowed to login to the server location.") %]
** [% locale.maketext("You can download the private/public keys here and import into [output,url,_1,PuTTY,target,_2] (or other SSH clients) if you prefer using something else for SSH connections. Or, if you have been using PuTTY, you can import the public/private keys by clicking on Import Key. You can also download your key in PuTTY’s ppk format under View/Download.", 'https://go.cpanel.net/putty', '_blank') %]
| [% locale.maketext("Name") %] | [% locale.maketext("Authorization Status") %] | [% locale.maketext("Actions") %] |
|---|---|---|
| [% keys.name.html() %] | [% keys.authstatus.html() %] | [% locale.maketext("Delete") %] [% locale.maketext("View/Download") %] [% locale.maketext("Manage") %] |
| [% locale.maketext("No Public Keys installed.") %] | ||
| [% locale.maketext("Name") %] | [% locale.maketext("Actions") %] |
|---|---|
| [% priv_keys.name.html() %] | [% locale.maketext("Delete") %] [% locale.maketext("View/Download") %] |
| [% locale.maketext("No Private Keys installed.") %] | |