SSH is an open-source and most trusted network protocol that is use to login to remote server. It is use to transfer file from one host to remote host over the network using SCP protocol.
In this article , we will discuss how to setup password-less login on RedHat linux, OE linux and solaris.
First of all login on source server 192.168.0.10 and generate pair of public keys using below command.
Source server 192.168.0.10
Destination server 192.168.0.11
Step 1:- Generate public authentication keys on 192.168.0.10.
[root@backup ~]# ssh-keygen -t rsa
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:
4d:05:39:fc:42:84:b6:e7:29:55:ee:32:dh:8b:ff:19 root@backup.xx-xxxx.com
No comments:
Post a Comment
Thanks for reading till end. I hope this will help you more to improve your knowledge.
Now it's your turn!
What do you think? Share your experience in the comments box and subscribe for more interesting post.