SSH keys Free login

To log in assuming that the machine is 192.168.1.100, the currently logged on the machine is 192.168.1.101.
First generating a key 101 on the machine (if already generated can be skipped):
$ SSH-keygen -t RSA
way to enter.
The generated public key is then copied into ~ / .ssh on the machine 100 / authorized_keys using the following command:
$ SSH-Copy-ID -i ~ / .ssh / id_rsa.pub [email protected]

root need to log in to the identity of the 100 machines, we need to replace the user name required.
Finally, test-free login password:
$ SSH [email protected]

Published 31 original articles · won praise 11 · views 10000 +

Guess you like

Origin blog.csdn.net/Hsu_smile/article/details/85042848