On 2024/03/13 12:19, Adam Kalisz wrote: > Hello, > > it seems I cannot use: > > $ ssh -J root@2a01:4f8:1c1e:528d::1 root@west-coast > Invalid -J argument > > (The west-coast is stored on the jump host in between in /etc/hosts.) > > $ ssh -J root@167.235.141.44 root@west-coast > > Works as expected. Also > > $ ssh root@2a01:4f8:1c1e:528d::1 > > does work as expected. I do have native IPv6. > > This is on Debian 12 Bookworm: > $ ssh -V > OpenSSH_9.2p1 Debian-2+deb12u2, OpenSSL 3.0.11 19 Sep 2023 > > The workaround seems to be to define the host used in ProxyJump in > ~/.ssh/config then it works with IPv6 too. > > Yes, I known I should use IPv6 with DNS which is not the point here. > > What have I overlooked? $ ssh -J root@[2a01:4f8:1c1e:528d::1] root@west-coast _______________________________________________ openssh-unix-dev mailing list openssh-unix-dev@xxxxxxxxxxx https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev