mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Goldstein Lyor (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SSHD-266) Support for known hosts
Date Wed, 03 Jun 2015 11:52:49 GMT

    [ https://issues.apache.org/jira/browse/SSHD-266?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14570709#comment-14570709
] 

Goldstein Lyor commented on SSHD-266:
-------------------------------------

Reading such a file and using it as a _ServerKeyVerifier_ is pretty straightforward by (re-)using
code from SSHD-482. The problem is handling all the special markers (e.g., _@revoked_), hosts
matching (e.g., _192.0.\*.\*_, _foo.bar.\*_) and hashed hosts (e.g., _|1|JfKTdBh7rNbXkVAQCRp4OQoPfmI=|USECr3SWf1JUPsms5AqfD5QfxkM=_).
Also, please note that the usual behavior when detecting a key file mismatch between the saved
one and the one presented by the host is usually to pop-up some dialog or question to the
user - which I am not sure how we can do in the code. Since (IMO) it is up to the *programmer*
to decide all we can do is implement an *abstract* class and ask the user to provide the actual
implementation for handling the mismatch.

> Support for known hosts
> -----------------------
>
>                 Key: SSHD-266
>                 URL: https://issues.apache.org/jira/browse/SSHD-266
>             Project: MINA SSHD
>          Issue Type: New Feature
>            Reporter: Guillaume Nodet
>
> See http://www.manpagez.com/man/8/sshd/ for the format



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message