[Linux] to log into another computer remotely via an ssh without a password every time the input approaches:

 

# Key generation after generation saved me in /root/.ssh/ id_rsa remember this position 
SSH - keygen 
# keys will be sent to the slave process will enter a password slave 
SSH -copy-the above mentioned id <username> @ 10.1 . 71.51 

# execute ssh command to log 
ssh <username> @ 10.1 . 71.51

Execute ssh <username> @ 10.1.71.51 again, do not need to enter a password, you can connect successfully 

Guess you like

Origin www.cnblogs.com/kaerxifa/p/12095875.html