Re: key auth ok one way, not the other
- From: "William B. Cattell" <wbcattell1.nospam@xxxxxxxxx>
- Date: Tue, 28 Mar 2006 11:08:39 GMT
On Mon, 27 Mar 2006 21:34:11 +0200, Stein Arne Storslett wrote:
William B. Cattell wrote:
On Mon, 27 Mar 2006 09:31:20 +0000, Darren Tucker wrote:
On 2006-03-27, William B. Cattell <wbcattell1.nospam@xxxxxxxxx> wrote:
I'm trying to get public key authentication working between two linuxCompare the file permissions of $HOME/.ssh/authorized_keys, $HOME/.ssh
machines - 2.6.8 kernel -- 2.4.22 kernel [and it works one way and
not the other].
and $HOME between the two systems. See http://openssh.com/faq.html#3.14 .
Thanks - I've made some headway after modifying permissions. I'm still
being asked for the passphrase when ssh'ing to the 2.6.8 system. I'm
thinking that if I load the agent on the 2.4.22 machine that should be
resolved. The gotcha is that I can load the agent but trying to add a key
(or even look at the loaded keys) I get a "cannot communicate with agent".
I'm trying a couple different things related to that. Thanks for the
suggestion.
What does /var/log/messages say on the server machine? It usually can
tell you what is wrong. Remember that your home directory needs to be
writable only by you (not writable by the group).
Thanks to Darren (and the FAQ) the permissions are fixed.
/var/log/messages doesn't tell me anything other than it's accepted my
public key. I've verified the public keys are correctly inserted in
authorized_keys and the corresponding private key has (r) permissions for
the owner only.
If I su to root I can do an ssh-add and get the (root's) private key into
the agent (ssh-add -l shows the fingerprint). I'm wondering if ssh-add
needs to be suid (a bad idea, I know).
Any thoughts / ideas?
TIA,
Bill
.
- Follow-Ups:
- Re: key auth ok one way, not the other
- From: William B. Cattell
- Re: key auth ok one way, not the other
- References:
- key auth ok one way, not the other
- From: William B. Cattell
- Re: key auth ok one way, not the other
- From: Darren Tucker
- Re: key auth ok one way, not the other
- From: William B. Cattell
- Re: key auth ok one way, not the other
- From: Stein Arne Storslett
- key auth ok one way, not the other
- Prev by Date: Re: ssh and su
- Next by Date: CLARIFICATION IN IKEV2 AUTHENTICATION PHASE2
- Previous by thread: Re: key auth ok one way, not the other
- Next by thread: Re: key auth ok one way, not the other
- Index(es):
Relevant Pages
|