hierynomus / sshj

ssh, scp and sftp for java

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Usage of wildcards in known host files

predi opened this issue · comments

Current implementation of net.schmizz.sshj.transport.verification.OpenSSHKnownHosts.SimpleEntry does not seem to support hostname patterns, just plain old hostnames.

  • foo.example.org
  • ???.example.org
  • *.example.org

Seems to be an omission similar to #281, might as well do them at once.