hierynomus / hierynomus/sshj

Connecting to cisco NCS 4016 fails during the shell creation

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

Description

If I do regular ssh, it works fine

```09:30:37.611 [connects-1] WARN c.h.s.t.IdentificationStringParser - Server identification has bad line ending, was expecting a '\r\n' however got: '0' (hex: 30)
09:30:37.614 [connects-1] WARN c.h.s.t.IdentificationStringParser - Will treat the identification of this server 'SSH-2.0-Cisco-2.0' leniently
09:30:37.615 [connects-1] DEBUG net.schmizz.concurrent.Promise - Setting <> to `null`
09:30:37.624 [connects-1] DEBUG net.schmizz.concurrent.Promise - Setting <> to `SOME`
09:30:37.624 [connects-1] DEBUG net.schmizz.concurrent.Promise - Awaiting <>
09:30:38.311 [reader] DEBUG net.schmizz.concurrent.Promise - Setting <> to `null`
09:30:38.311 [reader] DEBUG net.schmizz.concurrent.Promise - Setting <> to `SOME`
09:30:38.312 [connects-1] DEBUG net.schmizz.concurrent.Promise - Setting <> to `null`
09:30:38.312 [connects-1] DEBUG net.schmizz.concurrent.Promise - Awaiting <>
09:30:38.725 [reader] DEBUG net.schmizz.concurrent.Promise - Setting <> to `SOME`
09:30:38.726 [connects-1] DEBUG net.schmizz.concurrent.Promise - Setting <> to `null`
09:30:38.726 [connects-1] DEBUG net.schmizz.concurrent.Promise - Awaiting <>
09:30:38.828 [reader] DEBUG net.schmizz.concurrent.Promise - Setting <> to `false`
09:30:38.829 [connects-1] DEBUG net.schmizz.concurrent.Promise - Setting <> to `null`
09:30:38.829 [connects-1] DEBUG net.schmizz.concurrent.Promise - Awaiting <>
09:30:38.968 [reader] DEBUG net.schmizz.concurrent.Promise - Setting <> to `true`
09:30:38.976 [connects-1] DEBUG net.schmizz.concurrent.Promise - Awaiting <>
09:30:39.070 [reader] DEBUG net.schmizz.concurrent.Promise - Setting <> to `SOME`
09:30:39.070 [connects-1] DEBUG net.schmizz.concurrent.Promise - Awaiting <>
09:30:39.169 [reader] ERROR n.s.sshj.transport.TransportImpl - Dying because -
net.schmizz.sshj.transport.TransportException:
at net.schmizz.sshj.transport.TransportImpl.gotDisconnect(TransportImpl.java:554)
at net.schmizz.sshj.transport.TransportImpl.handle(TransportImpl.java:513)
at net.schmizz.sshj.transport.Decoder.decodeMte(Decoder.java:159)
at net.schmizz.sshj.transport.Decoder.decode(Decoder.java:79)
at net.schmizz.sshj.transport.Decoder.received(Decoder.java:231)
at net.schmizz.sshj.transport.Reader.run(Reader.java:59)
09:30:39.170 [reader] DEBUG net.schmizz.concurrent.Promise - Setting <> to `SOME`
09:30:39.170 [connects-1] ERROR net.schmizz.concurrent.Promise - <> woke to: net.schmizz.sshj.connection.ConnectionException
09:30:39.172 [reader] DEBUG net.schmizz.concurrent.Promise - Setting <> to `SOME`
```

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.