Установил FreeBSD на VirtualBox, пробросил порт с 22 на виртуалке на 2222 на хосте.
Подключаюсь через PuTTY - всё нормально.
Подключаюсь из WSL:
$ ssh -vvv 127.0.0.1:2222
OpenSSH_8.9p1 Ubuntu-3ubuntu0.6, OpenSSL 3.0.2 15 Mar 2022
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: include /etc/ssh/ssh_config.d/*.conf matched no files
debug1: /etc/ssh/ssh_config line 21: Applying options for *
debug2: resolve_addr: could not resolve name 127.0.0.1:2222 as address: Name or service not known
debug1: resolve_canonicalize: hostname 127.0.0.1:2222 is an unrecognised address
debug3: expanded UserKnownHostsFile '~/.ssh/known_hosts' -> '/home/feelus/.ssh/known_hosts'
debug3: expanded UserKnownHostsFile '~/.ssh/known_hosts2' -> '/home/feelus/.ssh/known_hosts2'
debug2: resolving "127.0.0.1:2222" port 22
debug3: resolve_host: lookup 127.0.0.1:2222:22
ssh: Could not resolve hostname 127.0.0.1:2222: Name or service not known
Что могло пойти не так?