wolfssh/examples/portfwd
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
..
include.am
…
portfwd.c examples: match [host]:port known_hosts names 2026-11-21 15:33:37 -06:00
wolfssh_portfwd.h
…