If:
Implementation---machine a confidential to the user "User1" identity. Free Password login B and c machine?
b machine and C machine establish user User1 and be able to ssh login.
A machine setting:
1. Install the SSH service. This slightly
2. #ssh - keygen - t RSA - P "'
Proactively generate ~/.ssh/id_rsa and ~/.ssh/id_rsa.pub two files.
b machine and C machine setup:
1. Install the SSH service. This slightly
2. Change/etc/ssh/sshd_config to find the configuration file for this SSH. Pubkeyauthentication Yes Open
3. Append the contents of the Id_rsa.pub file generated in a machine to the User1/.ssh/authorized_keys file of the B,c machine, which assumes that there is no manual self-build.
The above B and C machine settings can also be in a machine, such as the following operation:
ssh-copy-id-i ~/.ssh/id_rsa.pub [email protected] IP
Restart the sshd service.
A password-free login B machine:
SSH [email protected] machine ENTER.
C Machine ibid.
Related unsuccessful logs:/var/log/secure of B or C machine
Suppose to report this error: bad ownership or modes for File/home/songaimin/.ssh/authorized_keys please set this file permission to 755 to
SSH settings password-free login