wolfssh/scripts
John Safranek 49b90dc0a6 examples: match [host]:port known_hosts names
ClientPublicKeyCheck() takes a ClientHostCtx with the port as well as
the host. Off port 22 it looks up [host]:port, as OpenSSH writes it,
and takes a bare host line only when no [host]:port line has a key of
that type. The refusal prints the [host]:port line to add.

- a name field may be a comma list or a hashed |1|salt|hash name
- client, scpclient, sftpclient, portfwd and tpmcertclient pass the port
- client-hostkey.test covers port, fallback, comma and hashed names
2026-11-21 15:33:37 -06:00
..
client-hostkey.test examples: match [host]:port known_hosts names 2026-11-21 15:33:37 -06:00
fwd-bulk.test portfwd: check the host key against known_hosts 2026-11-21 15:33:37 -06:00
fwd.test
…
fwd.test.expect portfwd: check the host key against known_hosts 2026-11-21 15:33:37 -06:00
get-put.test examples: check host keys against known_hosts 2026-11-21 15:33:37 -06:00
include.am examples: check host keys against known_hosts 2026-11-21 15:33:37 -06:00
openssh-interop.test examples: check host keys against known_hosts 2026-11-21 15:33:37 -06:00
sbom.am
…
scp.test examples: check host keys against known_hosts 2026-11-21 15:33:37 -06:00
sftp.test examples: check host keys against known_hosts 2026-11-21 15:33:37 -06:00
sshclient.test
…