SSH configuration for one host to other host in UNIX.1.Generate the key from which host to need to do for ssh
$ ssh-keygen -trsa
it will be create and stoerd in .ssh directory
2.copy the key to distination host.
$ ls -a
. .. authorized_keys id_rsa id_rsa.pub known_hosts
Here u need to copy the id_rsa.pub to destination host.
$ scp id_rsa.pub ram@111.11.1.1:~/.ssh/authorized_keys
ram@111.11.1.1's password:
id_rsa.pub 100% |*****************************| 233 00:00
3.Once successfully copied, do the ssh it wont ask any password
[ram@bc .ssh]$ ssh 111.11.1.1
Wel Come To Dax Server
[ram@dax ~]$
Note: Before do this configuration make sure that the username for both host are same.