Why does sshd on fedora 5 reject public key exchange



Hi
Thanks in advance for any help

I am accessing a fedora 5 machine using public key authentication
but the authentication is rejected and a password is requested

I am currently using the default configuration for /etc/ssh/sshd_config

I have found this to work in the past.

Does anyone know what the problem is here. When I try and access the machine
using ssh in verbose mode I get the following output

$ ssh -v mike@xxxxxxxxxxxxxx
OpenSSH_3.9p1, OpenSSL 0.9.7e 25 Oct 2004
debug1: Reading configuration data /etc/ssh_config
debug1: Connecting to mynode.net.com [143.167.18.50] port 22.
debug1: Connection established.
debug1: identity file /cygdrive/f/cygwin/home/cs1mkg/.ssh/identity type -1
debug1: identity file /cygdrive/f/cygwin/home/cs1mkg/.ssh/id_rsa type 1
debug1: identity file /cygdrive/f/cygwin/home/cs1mkg/.ssh/id_dsa type -1
debug1: Remote protocol version 1.99, remote software version OpenSSH_4.3
debug1: match: OpenSSH_4.3 pat OpenSSH*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_3.9p1
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server->client aes128-cbc hmac-md5 none
debug1: kex: client->server aes128-cbc hmac-md5 none
debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<1024<8192) sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
The authenticity of host 'mynode.net.com (143.167.18.50)' can't be estab
lished.
RSA key fingerprint is 85:36:ce:b1:bd:97:1d:2c:bc:0e:d1:c7:73:e8:39:f0.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'mynode.net.com,143.167.18.50' (RSA) to the l
ist of known hosts.
debug1: ssh_rsa_verify: signature correct
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey,gssapi-with-mic,password
debug1: Next authentication method: publickey
debug1: Trying private key: /cygdrive/f/cygwin/home/cs1mkg/.ssh/identity
debug1: Offering public key: /cygdrive/f/cygwin/home/cs1mkg/.ssh/id_rsa
debug1: Authentications that can continue: publickey,gssapi-with-mic,password
debug1: Trying private key: /cygdrive/f/cygwin/home/cs1mkg/.ssh/id_dsa
debug1: Next authentication method: password
mike@xxxxxxxxxxxxxx's password:
debug1: Authentication succeeded (password).
debug1: channel 0: new [client-session]
debug1: Entering interactive session.
Last login: Tue Mar 20 09:35:59 2007 from iceberg.shef.ac.uk
[mike@felix ~]$



Relevant Pages

  • Re: ssh on AIX 4.3.3
    ... debug1: Next authentication method: publickey ... debug1: Next authentication method: keyboard-interactive ... ownerships and permissions on the remote server. ...
    (comp.unix.aix)
  • Public key authentication fails
    ... I am trying to set up public key authentication between two linux boxes ... debug1: Connecting to remotebox.com port 22. ... debug2: fd 3 setting O_NONBLOCK ... debug1: Next authentication method: keyboard-interactive ...
    (comp.security.ssh)
  • Key-based authentication in SSH with Sun Directory Server 6.3 (On Solaris 10 client)
    ... I'm having problems with key-based authentication on one of my Solaris ... debug1: Connection established. ... # rlogin service (explicit because of pam_rhost_auth) ... # Default definitions for Authentication management ...
    (comp.unix.solaris)
  • Re: pubkey authorisation problem - how to setup a secure ssh
    ... the authentication still doesn't work. ... debug3: start over, passed a different list publickey,keyboard-interactive ... debug1: Next authentication method: keyboard-interactive ...
    (comp.security.ssh)
  • Public key authentication doesnt work
    ... the remote .ssh/authorized_keys but still the public key authentication ... debug1: Connection established. ... debug2: fd 3 setting O_NONBLOCK ...
    (comp.security.ssh)