Post Reply  Post Thread 
Using SSH without a password
Author Message
admin
~CM~
*******


Posts: 147
Group: Administrators
Joined: Jul 2007
Status: Offline
Reputation: 0
Thank 0
1 was given thank in 1 posts
Post: #1
Using SSH without a password

Suppose you have two machines, the local one (you) and the remote one (remotesite.com).

To ssh from the local to the server without needing a password, perform these steps:

Quote:
ssh-keygen -t rsa

(don’t use a passphrase. Just hit return twice)

Quote:
scp ~/.ssh/id_rsa.pub remotesite.com:

On the remote machine (remotesite.com)

Quote:
cat ~/id_rsa.pub >> ~/.ssh/authorized_keys


Thanks & Regards
------------------
~CM~

ADD TO DEL.ICIO.US  ADD TO DIGG  ADD TO FURL  ADD TO NEWSVINE  ADD TO NETSCAPE 
ADD TO TECHNORATI FAVORITES  Technorati ADD TO SQUIDOO  ADD TO WINDOWS LIVE  ADD TO YAHOO MYWEB  ADD TO ASK 
ADD TO REDDIT  ADD TO STUMBLEUPON  ADD TO GOOGLE   

07-25-2007 03:45 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply  Post Thread 

View a Printable Version
Send this Thread to a Friend
Subscribe to this Thread | Add Thread to Favorites

Forum Jump: