[
https://issues.apache.org/jira/browse/SSHD-1157?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17338134#comment-17338134
]
Thomas Wolf commented on SSHD-1157:
-----------------------------------
Maybe you're looking for {{AbstractSession.getKexNegotiationResult()}}? And for
sshd 2.7.0, there are various reporting collectors that you can set on the
session. For instance a {{PublicKeyAuthenticationReporter}} to collect
information about pubkey authentication.
> Fetching valuable handshake informations during login
> -----------------------------------------------------
>
> Key: SSHD-1157
> URL: https://issues.apache.org/jira/browse/SSHD-1157
> Project: MINA SSHD
> Issue Type: Question
> Reporter: Susmit Sarkar
> Priority: Blocker
>
> Hello Team,
> We have an SSH SFTP/SCP Server being configured, Are there any hooks to
> collect some useful information like ciphers, macs, and key-exchange
> algorithms exchanged post successful authentication?
> Added to it if the handshake because of the incorrect combination of Client
> to server macs, ciphers or kex-algorithm fails, how will I get the details
> which algorithm was used, currently these details I found in the shhd logs if
> I set to debug, but is there any-way I can have a hook to fetch this details
> via code?
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]