[
https://issues.apache.org/jira/browse/SSHD-958?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Lyor Goldstein updated SSHD-958:
--------------------------------
Priority: Minor (was: Major)
> sshd (openssh5) closes connection on mina ssh client after pkt 50, but not ssh
> ------------------------------------------------------------------------------
>
> Key: SSHD-958
> URL: https://issues.apache.org/jira/browse/SSHD-958
> Project: MINA SSHD
> Issue Type: Bug
> Reporter: Yuefeng
> Assignee: Lyor Goldstein
> Priority: Minor
>
> Using mina ssh library to connect to a system, but the system always closes
> connection at the following stage:
> {code:java}
> 2019-12-09 21:03:08 Z [pool-123195-thread-1] DEBUG
> org.apache.sshd.client.session.ClientUserAuthService:
> auth(ClientSessionImpl[XXXXXXXX])[ssh-connection] send
> SSH_MSG_USERAUTH_REQUEST for 'none'
> 2019-12-09 21:03:08 Z [pool-123195-thread-1] DEBUG
> org.apache.sshd.client.session.ClientSessionImpl:
> writePacket(ClientSessionImpl[XXXXXXXXX])[SSH_MSG_USERAUTH_REQUEST] Start
> flagging packets as pending until key exchange is done
> 2019-12-09 21:03:09 Z [pool-123195-thread-1] DEBUG
> org.apache.sshd.client.session.ClientSessionImpl:
> close(ClientSessionImpl[XXXXXXXXXX]) Closing immediately
> 2019-12-09 21:03:09 Z [pool-123195-thread-1] DEBUG
> org.apache.sshd.client.session.ClientSessionImpl:
> signalAuthFailure(ClientSessionImpl[XXXXXX]) type=SshException,
> signalled=false: Session is being closed
> {code}
> when I tried ssh client from the same computer to the same destination, it
> works. "-vvv" shows that the destination system is
> {code:java}
> debug1: Remote protocol version 2.0, remote software version OpenSSH_5.3
> debug1: match: OpenSSH_5.3 pat OpenSSH_5* compat 0x0c000000
> {code}
> openssh lib shows the compat flag
> {code:java}
> { “OpenSSH_5*“, SSH_NEW_OPENSSH|SSH_BUG_DYNAMIC_RPORT| SSH_BUG_SIGTYPE},
> {code}
>
> while "SSH_NEW_OPENSSH" and "SSH_BUG_SIGTYPE" are common, flag
> SSH_BUG_DYNAMIC_RPORT is specific to OpenSSH_5, and not set anywhere else.
> Does mina ssh handle OpenSSH_5?
>
>
>
>
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]