ConfigurationXshellOrXftpLog on to the server using key authentication:
Xshell and xftp \ **. **. *. * \ soft \ SFTP (you only need to set the account password once, that is, you can use the two software)
1,Select the user key manager in the xshell toolbar and import the private key file in the email attachment, which is a separate user name file.
650) This. length = 650; "Border =" 0 "width =" 314 "Height =" 239 "src ="/e/u261/themes/default/images/spacer.gif "style =" Background: URL ("/e/u261/lang/ZH-CN/images/localimage.png") No-repeat center; Border: 1px solid # DDD; "alt =" spacer.gif "/>
2. Open xshell and click "new" to bring up the "new session properties" dialog box. In the "connection" column, enter the IP address and port of the private key you just added, as shown in:
The user name and password phrase determine the user key to be imported Based on the email content.
650) This. length = 650; "Border =" 0 "width =" 305 "Height =" 265 "src ="/e/u261/themes/default/images/spacer.gif "style =" Background: URL ("/e/u261/lang/ZH-CN/images/localimage.png") No-repeat center; Border: 1px solid # DDD; "alt =" spacer.gif "/>
Click "authentication" on the left to switch to the authentication topic. Select "Public Key" for "method" and enter "root" as the user name (the Public Key is stored in the root directory. in the SSH folder) for the user name, please view the content of your email, select the private key "key" We just generated in "User Key", and enter the encryption password of the private key in "passphrase.
650) This. length = 650; "Border =" 0 "width =" 385 "Height =" 337 "src ="/e/u261/themes/default/images/spacer.gif "style =" Background: URL ("/e/u261/lang/ZH-CN/images/localimage.png") No-repeat center; Border: 1px solid # DDD; "alt =" spacer.gif "/>
Host input ***. 96. 155 .***
Click OK to complete SSH password-free logon configuration for xshell.
This article from the "lost lamb" blog, please be sure to keep this source http://2346860.blog.51cto.com/2336860/1561752
Configure xshell or xftp to log on to the server using Key Authentication