tomaswolf commented on PR #353:
URL: https://github.com/apache/mina-sshd/pull/353#issuecomment-1497679435

   An entry without port must match only 22 in known_hosts. Running blame on 
that `HostPatternsHolder` leads to commit a52b1b3cb for issue 
[SSHD-1063](https://issues.apache.org/jira/browse/SSHD-1063), where that code 
was fixed to do exactly that.
   
   It's also somewhat logical: if "no port" matches any port, we  may consider 
wrong host keys when connecting to a non-standard port. Running multiple 
SSH-enabled services on different ports and having different host keys is not 
uncommon.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@mina.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@mina.apache.org
For additional commands, e-mail: dev-h...@mina.apache.org

Reply via email to