Xshell remote connection Linux and key authentication

Source: Internet
Author: User
Tags change settings custom name

  • Download Xshell,

    Http://120.221.34.87:6510/sqdownb.onlinedown.net/down/Xshell5v36383.exe

  • Open Xshell, fill in the IP address and custom name of the Linux, then OK, enter the user name password.

  • 3. Change settings, set mouse right click to paste.

    Click on the tool---option and set the right button.

    4. Configure the key.

    Tool--Create a new user key, and then set the key password.

    5. Copy the public key

    6. then go to create a directory and key file on Linux.

    [Email protected] ~]# MKDIR/ROOT/.SSH

    [Email protected] ~]# chmod 700/root/.ssh

    [Email protected] ~]# Vi/root/.ssh/authorized_keys

    7. paste the public key into the Authorized_keys file and save the key locally.

    Press the I key to enter edit mode, then paste the generated public key in, click the message can be pasted. (When copying the public key, choose from the back, or you will miss the first letter)

    8. Set the key

    9. Set the method to the key and fill in the key password.



    Xshell remote connection Linux and 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.