Tag Archives: putty

About Using SSH connection for Linux server

About using SSH to connect to the LIUNX server

Step 1

Generate the key on the server side

ssh-keygen -t rsa
Step 2

Add the public key to the server authorization file

id_rsa.pub >> authorized_keys
Step 3
cat id_rsa

Copy the private key to window, create a new text document and paste it. Use putty-gen to generate the private key *.ppk for putty

Step 4

Connection -> when using PuTTY Connection; SSH -> Auth Click Browse to select the generated *.ppk and then click Open

Putty encountered an error when logging into alicloud CentOS: dis connected:No supported authentication methods available

The problem is caused by SSH links that do not allow remote password authentication
Enter the system through the administrative console, check whether the following configuration
PasswordAuthentication no
is included in the /etc/sshd_config file. Change this parameter to yes through the vim editor, as follows:
PasswordAuthentication yes
save, and then restart SSH service
service SSHD restart