putty manage keys

http://blog.csdn.net/hongchangfirst/article/details/8490772

quote


In openssh, the private key generated by ssh_keygen, the key putty such as id_rsa is not known, and it must be converted into ppk format first

. If you install Git on Windows, there is a program ssh_keygen.exe in the bin directory.

# ssh_keygen -t rsa



has a puttygen.exe program, open it, and convert it with the existing private key.

Click "Load" to read the id_rsa file and

prompt enter passphase for key, enter the password when the rsa_key was generated before.

Click "Save private key" to keep the private key, assuming the saved file name is private.ppk

putty settings

Select Connection-SSH-Auth, enter the path of the key in "Private key file for authentication":

then in "Auth-login" of Connection username" (some putty versions are link-data-automatic login user name) enter the login user name, such as hongchangfirst:

you can also leave it blank. If the server has a public key on the corresponding side, after the user name is entered, log in directly.



SecureCRT is also similar
. Create a quick link, select public key authentication, click Properties, select the private key file just saved, and after confirmation, save and connect. It's ok.

xshell is also very easy to use and can log in directly.

There is also a netterm software, but never used.

These three ssh clients are similar, putty is free, and SecureCRT is not, but SecureCRT has a sftp function, putty does not, but there is another software psftp.ext on the official website of putty, the download address is http://www. chiark.greenend.org.uk/~sgtatham/putty/download.html for everyone to use. putty is really good.

Original text: http://blog.csdn.net/hongchangfirst/article/details/8490772

Author: hongchangfirst

hongchangfirst's homepage: http://blog.csdn.net/hongchangfirst

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326246203&siteId=291194637