To set the auto authentication in ssh please follow the steps described below: bash-3.00$ ssh-keygen -t rsa Generating public/private rsa key pair. Enter file in which to save the key (/home/oracle/.ssh/id_rsa): <Press Enter> Enter passphrase (empty for no passphrase): <Press Enter> Enter same passphrase again: <Press Enter> Your identification has been saved in /home/oracle/.ssh/id_rsa. Your public key has been saved in /home/oracle/.ssh/id_rsa.pub. The key fingerprint is: 22:55:d2:30:cb:5f:7b:eb:1e:ec:8e:72:48:cb:05:b6 oracle@DCDB01 bash-3.00$ pwd /home/oracle bash-3.00$ cd .ssh/ bash-3.00$ cat id_rsa.pub | ssh root@172.17.2.100 "cat - >> /.ssh/authorized_keys" The authenticity of host '172.17.2.100 (172.17.2.100)' can't be established. RSA key fingerprint is b5:3a:ce:a0:9f:44:18:ee:a0:33:a3:c6:ff:1a:b0:c3. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added '172.17.2....