[ https://issues.apache.org/jira/browse/SSHD-996?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lyor Goldstein resolved SSHD-996. --------------------------------- Resolution: Not A Problem Please use the d...@mina.apache.org.il mailing list for such questions since these are not real issues. I just answered such a question - see code in {{SshKeyScanMain}} class > Fetch Public Key from remote server > ----------------------------------- > > 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 > Priority: Blocker > > I am working on to fetch public key from the remote server. > 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: dev-unsubscr...@mina.apache.org For additional commands, e-mail: dev-h...@mina.apache.org