Hi,
I'm using below type of config for few years now. Today I've upgraded to:
OpenBSD 7.2-current (GENERIC.MP) #823: Wed Nov 2 11:56:37 MDT 2022
[email protected]:/usr/src/sys/arch/amd64/compile/GENERIC.MP
and see following problem:
$ ssh -vv pce-0035
OpenSSH_9.1, LibreSSL 3.6.0
debug1: Reading configuration data /home/mk1/.ssh/config
debug1: /home/mk1/.ssh/config line 127: Applying options for pce-0035
debug1: /home/mk1/.ssh/config line 1527: Applying options for *
debug1: Reading configuration data /etc/ssh/ssh_config
debug2: resolve_addr: could not resolve name [fde4:f456:48c2:13c0::cc35] as
address: name or service is not known
debug1: resolve_canonicalize: hostname [fde4:f456:48c2:13c0::cc35] is an
unrecognised address
debug1: Executing proxy command: exec ssh -q -W [fde4:f456:48c2:13c0::cc35]:22
ks2
...
debug1: load_hostkeys: fopen /home/mk1/.ssh/known_hosts2: No such file or
directory
debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts: No such file or directory
debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts2: No such file or
directory
debug1: check_host_key: invalid hostname "[fde4:f456:48c2:13c0::cc35]"; will
not record: domain name "[fde4:f456:48c2:13c0::cc35]" starts with invalid
character
Host key verification failed.
$ _
# ~/.ssh/config
Host pce-0035
User root
HostName [fde4:f456:48c2:13c0::cc35]
ProxyCommand ssh -q -W %h:%p ks2
Host ks2
User root
HostName ks2.example.com
Host *
AddressFamily any
Protocol 2
ServerAliveInterval 120
ConnectionAttempts 3
ConnectTimeout 30
ForwardAgent no
--
Regards,
Mikolaj