Sunday, December 11, 2011

Password less authentication with ssh

bash-3.00$ ssh-keygen -t rsa
Generating public/private rsa key pair.
Enter file in which to save the key (/u02/app/appavnp/.ssh/id_rsa):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /u02/app/appavnp/.ssh/id_rsa.
Your public key has been saved in /u02/app/appavnp/.ssh/id_rsa.pub.
The key fingerprint is:
65:c7:50:74:8b:f6:24:e8:9c:35:00:57:99:a4:24:ff appavnp@erp3

ssh-copy-id -i .ssh/id_rsa.pub ornellas@apanela.com

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home