Using Xshell, you can easily create a Public/Private key pair to securely authenticate your SSH connections. In your client PC, open Xshell and navigate to Tools -> User Key Manager.
Click Generate and select your desired Key Type and Key Length. For our example, we’ll choose the RSA Key Type and the 2048 Key Length. A key pair will be generated and you’ll be prompted to set your passphrase.
To see your public key, navigate to the key properties and select the “Public Key” tab.
Now that your key pair has been generated, the public/private key authentication method will help keep your information more secure.