Comment
Author: Admin | 2025-04-27
I've two windows machine and trying to SSH using CYGWIN. It works fine when password prompted. However, when I generated the private/public pair, looks like authentication succeeded, but got the connection closed error.Here's the detail logs: Please helpdebug1: Authentications that can continue: publickey,password,keyboard-interactivedebug3: start over, passed a different list publickey,password,keyboard-interactivedebug3: preferred publickey,keyboard-interactive,passworddebug3: authmethod_lookup publickeydebug3: remaining preferred: keyboard-interactive,passworddebug3: authmethod_is_enabled publickeydebug1: Next authentication method: publickeydebug1: Offering RSA public key: /home/502537203/.ssh/id_rsadebug3: send_pubkey_testdebug3: send packet: type 50debug2: we sent a publickey packet, wait for replydebug1: Authentication succeeded (publickey).Authenticated to hostname ([x.x.x.x]:22).debug1: channel 0: new [client-session]debug3: ssh_session2_open: channel_new: 0debug2: channel 0: send opendebug3: send packet: type 90debug1: Requesting [email protected]debug3: send packet: type 80debug1: Entering interactive session.debug1: pledge: networkdebug3: send packet: type 1debug1: channel 0: free: client-session, nchannels 1debug3: channel 0: status: The following connections are open: #0 client-session (t3 r-1 i0/0 o0/0 fd 4/5 cc -1)Connection to hostname closed by remote host.Connection to hostname closed.Transferred: sent 2056, received 1500 bytes, in 0.0 secondsdebug1: Exit status -1
Add Comment