Putty Connecting the CentOS server

Source: Internet
Author: User
Tags centos server server hosting

Putty Connection Centos Server

ps:client Connection Server A lot of methods, usually C/S mode.

Common ways to connect servers are:

1. user name and password login, security level is very low.

2. Modify the port ( Set the default port to a different port) to log on with a low security level.

3. set the complex password login, security level bottom.

4. Log in to the server with the secret key, the highest security level.

one, the following to introduce the use of Putty Login Centos server, the following are the specific operations:

Download Putty tool or CRT , personal habits use Putty , and then open Puttygen This tool

with Puttygen this tool to generate key pairs ( The key will be generated when the mouse is prompted to swipe to generate)

Put the generated public and private keys in a directory to save (if the private key is lost, there will be a server can not log on, remember!!) )

Second, the server-side operation is as follows:

1.yum-y Install Openssh-server openssh-clients

2. server-side generate secret key pair ssh-keygen-t RSA

3. after generating the secret key, there will be an . SSH directory, which has the public key (. Pub) and private key of the server, which makes it easy to jump to other servers.

4. Create the authorized_keys file in the . SSH directory and pour the client's public key into the The Authorized_keys file. The following is The public key of the client side.

5. authorizing /root/.ssh/ directory Permissions

chmod 700/root/.ssh/

6. Server modification /etc/ssh/sshd_config configuration file (backup first, then modify!!!) ), open key authentication!!                      

7. Restart the SSH Services service sshd restart or /etc/init.d/sshd restart< /c8>

Verify:

Client Login

Set Secret key

OK Operation completed ~~

Small New Enterprise Q 2851506992 Q604906005 tell:15013023312

Hengyang High-protection server rental , server hosting , large bandwidth rental of enclosures

Hengyang Machine Room export 500G , 30g--200g High Defense,

Open UDP Open the Port Ignore Cc/udp/syn Attack!

New configuration Dell R610 , eight-core 16 threads

Hunan IDC room    high anti-height with Baidu segment &NBSP, Dell Brand Server

G Port Access ! Stable! High-protection! Second Solution! Real Defense!

Putty Connecting the CentOS server

Related Article

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.