Nilesh created SSHD-996:
---------------------------
Summary: verify Public Key
Key: SSHD-996
URL: https://issues.apache.org/jira/browse/SSHD-996
Project: MINA SSHD
Issue Type: New Feature
Affects Versions: 2.3.0
Reporter: Nilesh
Users can verify the identity of the server (by checking the public key) during
the initial protocol negotiation.
I am not able to get the public key from the remote server.
Code snippet:
ServerKeyVerifier serverky=session.getServerKeyVerifier();
PublicKey pk= session.getKex().getServerKey(); // Not working
Above solution not working then I am trying to use
KnownHostsServerKeyVerifier.jav to get the publicKey but could not able to do .
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]