SSH use to login from one PC to another without supplying the passwords.
# ssh-keygen -t rsa (Press Enter)
Generating public/private rsa key pair.
Enter file in which to save the key (/home/skx/.ssh/id_rsa): (Enter)
Enter passphrase (empty for no passphrase): (empty)
Enter same passphrase again: (empty)
Your identification has been saved in /home/skx/.ssh/id_rsa.
Your public key has been saved in /home/skx/.ssh/id_rsa.pub.
# ssh-copy-id -i ~/.ssh/id_rsa.pub username@remote_host - IP Address
Subscribe to:
Post Comments (Atom)
This comment has been removed by the author.
ReplyDelete