SSH password-less remote login to Linux host
SSH (Secure Shell) is a security protocol designed for remote login sessions and other network services.
With SSH, You can remotely log on to other Linux Hosts, but you need to enter a password. If you log on to 10.3.93.213, you must enter a password.
To achieve password-less logon, you can use the ssh-keygen command to generate a public key, and then copy the public key to the host to be remotely logged on.
Enter the ssh-keygen command and press enter three times in a row.
Go to the. ssh folder and you will see two files generated:
Id_rsa.pub is the public key. Use the scp command to copy it to the. ssh folder 10.3.93.212.
If the authorized_keys file of 10.3.93.212 already exists, copy id_rsa.pub and run cat id_rsa.pub> authorized_keys.
SSH 10.3.93.212 again. You can log on without a password.
Configure scp to transfer files between Linux and Unix without a password
Cp/scp command + scp command in Linux
CentOS cannot use scp command Solution
Copy files between two Linux Hosts using scp
SSH password-free login configuration in CentOS 6.0
How to Improve the SSH login authentication speed of Ubuntu
Enable the SSH service to allow Android phones to remotely access Ubuntu 14.04
Configure and manage the SSH service on Linux
Basic SSH tutorial
This article permanently updates the link address: