Re: Q: pub key login still asks for password??
From: Darren Tucker (dtucker_at_dodgy.net.au)
Date: 03/09/04
- Previous message: Darren Tucker: "Re: how to re-use existing session?"
- In reply to: Jason M. LaPenta: "Q: pub key login still asks for password??"
- Next in thread: tj: "Re: Q: pub key login still asks for password??"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Tue, 9 Mar 2004 08:21:11 +0000 (UTC)
In article <404CBE77.4020708@ll.mit.edu>,
Jason M. LaPenta <lapenta@ll.mit.edu> 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:
http://www.snailbook.com/faq/general-debugging.auto.html
A quick guess is file and/or directory permissions, try
$ chmod 700 $HOME/.ssh
$ chmod 600 $HOME/.ssh/authorized_keys
and possibly:
$ 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.
- Previous message: Darren Tucker: "Re: how to re-use existing session?"
- In reply to: Jason M. LaPenta: "Q: pub key login still asks for password??"
- Next in thread: tj: "Re: Q: pub key login still asks for password??"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|