why connection closed for publickey authentication?
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Unix and Linux reviews > Free Unix support > Unix administration > why connection closed for publickey authentication?




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    why connection closed for publickey authentication?  
Bing


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
05-19-04 10:40 PM

Please see the debug information below.  Would anybody tell why the
connection closed at the end? host.my.edu is running sshd fine.  I've
tried ssh to another server in debug mode, seems the next debug line
should be "Server accepts key: blah" in normal cases. But ssh did not
get that point before the connnection was closed.  What should I
check?

---------
% ssh -l user -v host.my.edu

OpenSSH_3.7p1, SSH protocols 1.5/2.0, OpenSSL 0.9.7a Feb 19 2003
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Connecting to host.my.edu [IP omitted here] port 22.
debug1: Connection established.
debug1: identity file /home/user/.ssh/identity type -1
debug1: identity file /home/user/.ssh/id_rsa type -1
debug1: identity file /home/user/.ssh/id_dsa type 2
debug1: Remote protocol version 2.0, remote software version
OpenSSH_3.5p1
debug1: match: OpenSSH_3.5p1 pat
OpenSSH_3.2*,OpenSSH_3.3*,OpenSSH_3.4*,OpenSSH_
3.5*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_3.7p1
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 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
debug1: Host 'host.my.edu' is known and matches the RSA host ke
y.
debug1: Found key in /home/user/.ssh/known_hosts:5
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,password,keyboard-interacti
ve
debug1: Next authentication method: publickey
debug1: Trying private key: /home/user/.ssh/identity
debug1: Trying private key: /home/user/.ssh/id_rsa
debug1: Offering public key: /home/user/.ssh/id_dsa
Connection closed by <IP address omitted here>
debug1: Calling cleanup 0x8060040(0x0)
-----------

I would appreciate any help.

Bing





[ Post a follow-up to this message ]



    Re: why connection closed for publickey authentication?  
Darren Tucker


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
05-20-04 10:38 AM

In article <b4287274.0405191331.5a53f39b@posting.google.com>,
Bing <bdu@iastate.edu> wrote:
>Please see the debug information below.  Would anybody tell why the
>connection closed at the end?

>debug1: Trying private key: /home/user/.ssh/id_rsa
>debug1: Offering public key: /home/user/.ssh/id_dsa
>Connection closed by <IP address omitted here>
>debug1: Calling cleanup 0x8060040(0x0)

It looks like the server is dying for some reason.  Can you reproduce the
problem with a current OpenSSH (ie 3.8.1p1)?  If so, please open a bug at
at bugzilla.mindrot.org and we'll see if we can figure it out.

--
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.





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 09:03 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register