Learn Linux with Amin the third use putty, Xshell remote connection Linux and key authentication

Source: Internet
Author: User
Tags key string
The two softwares used in this class are putty, Xshell
Putty:https://the.earth.li/~sgtatham/putty/latest/w64/putty.zip
xshell:https://www.netsarang.com/download/down_form.html?code=622
Note: Putty is a green, free installation software. Xshell Software Personal Edition is free, need to register with the mailbox, after the successful registration, will be sent to the personal mailbox. Powerful, recommended use.

Remote connection of Linux servers via IP address
1 Remote connection using putty:

The interface after successful login:

2 remote connection to Linux using Xshell

The interface after successful login:

Third, key authentication
1 login to Linux with Putty key authentication
The software that needs to be used is puttygen.exe in the putty package above.
The public and private key strings are generated through Puttygen, the public key is used for encryption, and the private key is decrypted.
Copy the generated public key string into the following file
/root/.ssh/authorized_keys


Set the permissions of this directory to chmod 700/root/.ssh/
Be sure to turn off SELinux, shutdown method: Setenforce 0 temporarily shut down, fail after reboot
Permanent shutdown Method:
Vi/etc/selinux/config
Change enforcing to Disabled


2 Login to Linux with Xshell key authentication
Through the menu tool-New User key Generation Wizard, as shown in section

Free-secret Landing Road success

Learn Linux with Amin the third use putty, 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.