Xshell supports a public key user authentication method
that is an alternative way of identifying a user to a remote
server, instead of typing a password.
To use the public key user authentication method, a user
generates a user key pair, consisting of a public key (which
everybody is allowed to know) and a private key (which the user
keeps secret and does not give to anybody). When the public key
authentication is in progress, the private key is used by
Xshell to generate a signature and the public key is used by
the SSH server to verify the signature. That is, the possession of
the private key works as an identity of the user. Also, to get
authenticated by server, the user should register his or her public
key to the server. For more information on user keys, see User Keys dialog box.
A user key can be created in the SSH server or Xshell. If
it is created in the server, import the private key to the database
of Xshell. If it is created in Xshell, register the
public key to the server.
In the View Public Key Format As list, select an
Click Save As a File. Note: After the public key is saved as a file, you should
copy it to the remote server. How to copy is different for each
server and you may find it helpful to read Step 4: Public Key
Note: The exported file has the NetSarang User Key
format and it cannot be used in the applications provided by other
vendors. You may find it useful to export user keys when you
uninstall Xshell or try to use the same private key in
Xshell installed in another computer.