Iam getting an error message as below while trying to connect to FTP server using J2SSH.
com.sshtools.j2ssh.transport.kex.KeyExchangeException: The host key is invalid or was not accepted!
com.sshtools.j2ssh.transport.TransportProtocolClient :: Message Send :: SSH_MSG_NEWKEYS at comsshtoolsp.j2ssh.transport.TransportProtocolClient.performKeyExchange(TransportProtocolClient.java:372)
at com.sshtools.j2ssh.transport.TransportProtocolCommon.beginKeyExchange(TransportProtocolCommon.java:718)
at com.sshtools.j2ssh.transport.TransportProtocolCommon.onMsgKexInit(TransportProtocolCommon.java:1285)
at com.sshtools.j2ssh.transport.TransportProtocolCommon.startBinaryPacketProtocol(TransportProtocolCommon.java:1042)
at com.sshtools.j2ssh.transport.TransportProtocolCommon.run(TransportProtocolCommon.java:394)
at java.lang.Thread.run(Unknown Source)
Anyone kindly advice !!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
Iam getting an error message as below while trying to connect to FTP server using J2SSH.
com.sshtools.j2ssh.transport.kex.KeyExchangeException: The host key is invalid or was not accepted!
com.sshtools.j2ssh.transport.TransportProtocolClient :: Message Send :: SSH_MSG_NEWKEYS at comsshtoolsp.j2ssh.transport.TransportProtocolClient.performKeyExchange(TransportProtocolClient.java:372)
at com.sshtools.j2ssh.transport.TransportProtocolCommon.beginKeyExchange(TransportProtocolCommon.java:718)
at com.sshtools.j2ssh.transport.TransportProtocolCommon.onMsgKexInit(TransportProtocolCommon.java:1285)
at com.sshtools.j2ssh.transport.TransportProtocolCommon.startBinaryPacketProtocol(TransportProtocolCommon.java:1042)
at com.sshtools.j2ssh.transport.TransportProtocolCommon.run(TransportProtocolCommon.java:394)
at java.lang.Thread.run(Unknown Source)
Anyone kindly advice !!