hierynomus / hierynomus/sshj

net.schmizz.sshj.transport.TransportException: Broken transport; encountered EOF

Open
#289 7 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
2.7k
Forks
620
Avg merge
3d 23h
Merged PRs (30d)
11

Description

HI,

I am using SSHJ library to connect to Switch using my code.

I am seeing below error. Any help is much appreciated.

2016-12-20 04:40:57 DEBUG SecurityUtils:45 - Trying to register BouncyCastle as a JCE provider
2016-12-20 04:40:57 INFO SecurityUtils:49 - BouncyCastle registration succeeded
2016-12-20 04:40:57 INFO COMSSHClient:190 - Connecting to 192.168.6.25
2016-12-20 04:40:57 INFO COMSSHClient:205 - Could not load known_hosts
2016-12-20 04:41:02 INFO TransportImpl:154 - Client identity string: SSH-2.0-SSHJ_0_9_2
2016-12-20 04:41:02 INFO TransportImpl:167 - Server identity string: SSH-1.99-Comware-7.1.045
2016-12-20 04:41:02 DEBUG Promise:78 - Setting <> to `null`
2016-12-20 04:41:02 DEBUG KeyExchanger:175 - Sending SSH_MSG_KEXINIT
2016-12-20 04:41:02 DEBUG Promise:78 - Setting <> to `SOME`
2016-12-20 04:41:02 DEBUG Promise:164 - Awaiting <>
2016-12-20 04:41:02 DEBUG KeyExchanger:337 - Received SSH_MSG_KEXINIT
2016-12-20 04:41:02 DEBUG KeyExchanger:220 - Negotiated algorithms: [ kex=diffie-hellman-group14-sha1; sig=ecdsa-sha2-nistp256; c2sCipher=aes128-cbc; s2cCipher=aes128-cbc; c2sMAC=hmac-sha1; s2cMAC=hmac-sha1; c2sComp=none; s2cComp=none ]
2016-12-20 04:41:02 DEBUG DHG14:90 - Sending SSH_MSG_KEXDH_INIT
2016-12-20 04:41:02 DEBUG KeyExchanger:350 - Received kex followup data
2016-12-20 04:41:02 DEBUG DHG14:100 - Received SSH_MSG_KEXDH_REPLY
2016-12-20 04:41:02 DEBUG KeyType$3:120 - Key algo: ecdsa-sha2-nistp256, Key curve: nistp256, Key
2016-12-20 04:41:02 DEBUG KeyExchanger:197 - Trying to verify host key with net.schmizz.sshj.transport.verification.PromiscuousVerifier@72980252
2016-12-20 04:41:02 DEBUG KeyExchanger:183 - Sending SSH_MSG_NEWKEYS
2016-12-20 04:41:02 DEBUG KeyExchanger:365 - Received SSH_MSG_NEWKEYS
2016-12-20 04:41:02 DEBUG Promise:78 - Setting <> to `null`
2016-12-20 04:41:02 DEBUG Promise:78 - Setting <> to `SOME`
2016-12-20 04:41:02 DEBUG SSHClient:697 - Key exchange took 0.683 seconds
2016-12-20 04:41:02 INFO COMSSHClient:190 - Connecting to 192.x.x.x
2016-12-20 04:41:57 ERROR TransportImpl:583 - Dying because - {}
net.schmizz.sshj.transport.TransportException: Broken transport; encountered EOF
at net.schmizz.sshj.transport.Reader.run(Reader.java:59)
2016-12-20 04:41:57 INFO TransportImpl:74 - Disconnected - UNKNOWN
2016-12-20 04:41:57 DEBUG KeyExchanger:379 - Got notified of net.schmizz.sshj.transport.TransportException: Broken transport; encountered EOF
2016-12-20 04:41:57 DEBUG TransportImpl$NullService:57 - Notified of net.schmizz.sshj.transport.TransportException: Broken transport; encountered EOF
2016-12-20 04:41:57 DEBUG TransportImpl:312 - Setting active service to null-service
2016-12-20 04:41:57 DEBUG Promise:78 - Setting <> to `SOME`
2016-12-20 04:41:57 DEBUG Reader:70 - Stopping

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.