SSH Troubles

Matthew Frederico mfrederico at gmail.com
Thu Mar 17 17:13:13 MST 2005


On Thu, 17 Mar 2005 17:10:50 -0700, Eric Jensen <eric at emstraffic.com> wrote:
> Trying to do some cron scp and having some difficulties with it.  I read
> up on how to make it so you don't have to enter a password, but it
> doesn't seem to work.  I created a .ssh/id_rsa and .ssh/id_rsa.pub.  I
> copied the is_rsa.pub to the remote host and added it to
> .ssh/authorized_keys.  So that file now looks like:
> 
> ssh-rsa *garble* user at server.com
> 
> When running ssh or scp it still asked for a password.  Any ideas?

Make sure the keys are only read-writable by the user who owns them.
chmod 700 id_rsa.pub
chmod 700 id_rsa

-- 
-- Matthew Frederico
http://www.ultrize.com
----------------------------------
$1 million dollars in donations for care packages for our troops: 
http://www.troopwear.com



More information about the PLUG mailing list