[CLUE-Tech] Passwordless scp?

Dan Harris coronadh at coronasolutions.com
Wed Apr 16 08:16:49 MDT 2003


I'm trying to set up a way to have a client scp a file to one of my 
servers and having it automated so a password is not necessary.

Based on my google search results, I've done the following:

created a username for this customer on my server
ran 'ssh-keygen -t rsa' as this user.  This created an id_rsa and 
id_rsa.pub in their ~/.ssh directory
had them create the same username on their server with the same password
copied both of these files to their server in the ~/.ssh directory
(tried copying id_rsa.pub to authorized_keys on this client for testing 
purposes)

 From what I've read, that seems to be all I have to do to make this 
work.  But unfortunately, both ssh and scp are still prompting for a 
password. 

Can someone steer me in the right direction?

Thanks




More information about the clue-tech mailing list