KeyExchange signature verification failed Exception
- Dominant language
- Java
- Stars
- 2.7k
- Forks
- 620
- Avg merge
- 3d 23h
- Merged PRs (30d)
- 11
Description
Hi,
I am getting below error when trying to establish connectivity with a SFTP server via SSHJ library, however the same connectivity is working fine from unix command (sftp -v username@serveraddress). Can someone explain me what could cause this in the library ?
Thanks,
Anuj
net.schmizz.sshj.transport.TransportException: [KEY_EXCHANGE_FAILED] KeyExchange signature verification failed at net.schmizz.sshj.transport.kex.AbstractDHGex.parseGexReply(AbstractDHGex.java:92) at net.schmizz.sshj.transport.kex.AbstractDHGex.next(AbstractDHGex.java:58) at net.schmizz.sshj.transport.KeyExchanger.handle(KeyExchanger.java:358) at net.schmizz.sshj.transport.TransportImpl.handle(TransportImpl.java:503) at net.schmizz.sshj.transport.Decoder.decode(Decoder.java:102) at net.schmizz.sshj.transport.Decoder.received(Decoder.java:170) at net.schmizz.sshj.transport.Reader.run(Reader.java:59)
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.