[
https://issues.apache.org/jira/browse/SSHD-996?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Nilesh updated SSHD-996:
------------------------
Description:
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 .
was:
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 .
Summary: Fetch Public Key from remote server (was: verify Public Key)
> 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: [email protected]
For additional commands, e-mail: [email protected]