[Bug 237] New: Key authentication failed with SSH 2 / Path wrong

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Wed May 8 18:36:17 EST 2002


http://bugzilla.mindrot.org/show_bug.cgi?id=237

           Summary: Key authentication failed with SSH 2 / Path wrong
           Product: Portable OpenSSH
           Version: 3.1p1
          Platform: Sparc
        OS/Version: Solaris
            Status: NEW
          Severity: major
          Priority: P2
         Component: sshd
        AssignedTo: openssh-unix-dev at mindrot.org
        ReportedBy: s_guegan at voila.fr


Hye,

I've installed OpenSSH 3.1p1 on a SUN Sparc station running Solaris 2.6. I've 
also installed EGD 0.8 and OpenSSL 0.9.6c. 
The password authentication seems to work correctly but there is apparently a 
major problem with the key authentication. The OpenSSH server where sshd is 
running is an NFS client and the users account where the .ssh/ are stored are 
on an NFS partition. Both client & server are configured to use Protocol 2 only.

If I force ssh to follow authentication by SSH 2 and if I give the path to find 
the private key, here is the result : 
++++++++++++
client1 at sgu:  slogin -v -i ~/.ssh/id_dsa -2 client1
debug1: authentications that can continue: publickey,keyboard-interactive
debug1: next auth method to try is publickey
debug1: try pubkey: /export/home/sgu/.ssh/id_dsa
debug1: authentications that can continue: publickey,keyboard-interactive
debug1: next auth method to try is keyboard-interactive
debug1: authentications that can continue: publickey,keyboard-interactive
debug1: no more auth methods to try
Permission denied (publickey,keyboard-interactive).
debug1: Calling cleanup 0x33ecc(0x0)

If I try the same thing without options, I've got the following results :
++++++++++++++++++++
client1 at sgu:  slogin -v client1
debug1: authentications that can continue: publickey,keyboard-interactive
debug1: next auth method to try is publickey
debug1: try privkey: /export/home/sgu/.ssh/id_rsa
debug1: try pubkey: /export/home/sgu/.ssh/id_dsa
debug1: authentications that can continue: publickey,keyboard-interactive
debug1: next auth method to try is keyboard-interactive
debug1: authentications that can continue: publickey,keyboard-interactive
debug1: no more auth methods to try
Permission denied (publickey,keyboard-interactive).
debug1: Calling cleanup 0x33ecc(0x0)

It seems that it doesn't "recognise" correctly SSH 2 and that the 'path' to the 
keys (public & private) are wrong. 
I've also noticed that it seems to skip completely the file "authorized_keys" 
even I specify it "as it is" in sshd_conf! 

I didn't finish completely the tests but apparently it's working fine with 
OpenSSH rel. < 3. 

Thanks in advance and do not hesitate if you need more informations.
Kind Regards,


S.G.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the openssh-unix-dev mailing list