Re: Q: pub key login still asks for password??
From: Darren Tucker (dtucker_at_dodgy.net.au)
Date: Tue, 9 Mar 2004 08:21:11 +0000 (UTC)
In article <404CBE77.firstname.lastname@example.org>,
Jason M. LaPenta <email@example.com> wrote:
>I'm trying to setup ssh and scp so I can scp/ssh to another linux box
>without having to type in a password every time. I've setup sshd and
>used ssh-keygen as specified in the man pages, including copying the
>identity.pub file to .ssh/authorized_keys onto the computer I want to
>log into. I am still prompted for a password when trying to use scp and
>ssh. Any ideas why I'm still being propmted for a password?
The reason why the key was refused will be in the server side debugging:
A quick guess is file and/or directory permissions, try
$ chmod 700 $HOME/.ssh
$ chmod 600 $HOME/.ssh/authorized_keys
$ chmod go-w $HOME
-- Darren Tucker (dtucker at zip.com.au) GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4 37C9 C982 80C7 8FF4 FA69 Good judgement comes with experience. Unfortunately, the experience usually comes from bad judgement.