In Host1:
# ssh-keygen -t rsa
#ssh-copy-id root@<Host2>
Thats all:
Now from the Host1 try login with below command and it won't ask password.
# ssh root@Host2
Repeat same steps on Host2 for accessing Host1 without password.
Virtualization The Future!!!
In Host1:
# ssh-keygen -t rsa
#ssh-copy-id root@<Host2>
Thats all:
Now from the Host1 try login with below command and it won't ask password.
# ssh root@Host2
Repeat same steps on Host2 for accessing Host1 without password.
Comments
Post a Comment