Linux20180530 Putty Xshell key authentication

Source: Internet
Author: User
Tags ssh port

May 30 Task

1.9 Remote connection to Linux using putty
1.10 using Xshell to connect to Linux
1.11 Putty Key authentication
1.12 Xshell key authentication



As mentioned in the previous section, the purpose of setting a static IP for a system is to have remote access.

Remote access is a tool that requires remote access.

Here are two tools, one is putty and the other is Xshell




First, putty.


The host NAME/IP address is used to fill in IP addresses or host name

Port default SSH port is 22 ports

Select the connection method is SSH

Below you can fill in the name of the session and save it.

Because the key has been configured before, this is a key pairing login.


Say Xshell. Xshell is basically using Xshell for remote connections due to its more user-friendly interface and more convenient use.

What needs to be said here is that the educational version of XSHELL6 is more convenient for individual users at present.

Here is an interface for XSHELL6

Basically the configuration process is similar to putty, where there is no more complaints.


Next is the public key pair. Here take Xshell as an example.

What to keep in mind is:

Client---"Private key

Server---"Public key

As long as the pairing is successful, it can be authenticated


Steps

    1. Create a new/root/.ssh directory,

    2. Permissions chmod 700

    3. Create a new Authorized_keys file in the. ssh directory and copy the public key into it. If you have more than one public key, remember to separate the other line.


go in from the new place




Copy the public key well, because it needs to be used in the host, and you can save the file for later use.

Log in to the host, open the key file under/root/.ssh Authorized_keys file paste in

Next is the configuration of the user key.

Enter the properties of the session.

Follow the above user key to select and fill in the previously set password.

Click Accept and save. will be entered into the remote system as a key.

Linux20180530 Putty Xshell 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.