Configure xshell or xftp to log on to the server using Key Authentication

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.