You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Thomas Wolf (Jira)" <ji...@apache.org> on 2020/12/30 11:21:00 UTC
[jira] [Commented] (SSHD-1114) Add client-side detailed
authentication progress callbacks
[ https://issues.apache.org/jira/browse/SSHD-1114?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17256464#comment-17256464 ]
Thomas Wolf commented on SSHD-1114:
-----------------------------------
Yes, that would be really good. I looked at that a while ago, but it seems to be rather difficult.
Probably passwords/passphrases should not be logged, though. Best would be if the application had a way to get a list of messages or statuses describing the various attempts, so that it then can decide itself what to do with the information. Maybe log it on success, or show it to the user in case of failure. Something like
{code}
Host www.example.org:22 authentication attempt 1: publickey ~/.ssh/id_rsa: could not decrypt
Host www.example.org:22 authentication attempt 2: publickey ~/.ssh/id_ed25519: rejected
Host www.example.org:22 authentication attempt 3: password **** rejected
Host www.example.org:22 authentication attempt 4: password **** success
{code}
would be really helpful.
> Add client-side detailed authentication progress callbacks
> ----------------------------------------------------------
>
> Key: SSHD-1114
> URL: https://issues.apache.org/jira/browse/SSHD-1114
> Project: MINA SSHD
> Issue Type: Improvement
> Affects Versions: 2.6.0
> Reporter: Lyor Goldstein
> Priority: Minor
>
> Provide a way for the user to be informed of the current authentication progress besides just its result (success/failure) - e.g.:
> * Which key/signature type is being attempted
> * Which password is being attempted
> * What was the result of the specific attempt
> * Etc.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@mina.apache.org
For additional commands, e-mail: dev-help@mina.apache.org