Using ssh-keygen to set ssh password-less ssh logon is a protocol designed for security of remote logon sessions and other network services. By default, ssh connections require password authentication. You can add system authentication (Public Key-Private Key) modifications. After modification, inter-system switching can avoid password input and ssh authentication. The following describes the creation process. Www.2cto.com enter ssh-keygen-t rsa-C "you@email.com" with ssh-keygen to create the public key. ssh/idrsa, idrsa. pub files, where the first is the key and the second is the public key. The password is required during the process. For ssh access, you can press enter directly. View the key: www.2cto.com ls ~ /. Ssh/copy the public key to the managed machine above scp id_rsa.pub root@192.168.36.194 :~ /. Ssh/authorized_keys access ssh 192.168.36.194. This is because after the first access, ssh will save the authenticated host information in. ssh/known_hosts for further access. You can log on through ssh without a password. Ssh 192.168.36.194