Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security Secure-Shell
[Top] [All Lists]

Why does sshd on fedora 5 reject public key exchange

Subject: Why does sshd on fedora 5 reject public key exchange
Date: 20 Mar 2007 11:10:46 -0000
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@mynode.net.com
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@mynode.net.com'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 ~]$

<Prev in Thread] Current Thread [Next in Thread>
  • Why does sshd on fedora 5 reject public key exchange, m . griffiths <=