3 Steps to Perform SSH Login Without Password
[root@CentOS ~]# ssh-keygen
Generating public/private rsa key pair.
Enter file in which to save the key (/root/.ssh/id_rsa):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /root/.ssh/id_rsa.
Your public key has been saved in /root/.ssh/id_rsa.pub.
The key fingerprint is:
78:3c:b3:40:39:24:d3:5e:73:a4:83:c6:72:b9:74:72 root@CentOS
The key's randomart image is:
+--[ RSA 2048]----+
| o.. .. |
| =.+o.. |
| ..%.Eo |
| *.O . |
| + S |
| o + |
| . |
| |
| |
+-----------------+