Adam Kalisz
2024-Mar-13 11:19 UTC
ProxyJump does not accept IPv6 for the intermediate host?
Hello, it seems I cannot use: $ ssh -J root at 2a01:4f8:1c1e:528d::1 root at west-coast Invalid -J argument (The west-coast is stored on the jump host in between in /etc/hosts.) $ ssh -J root at 167.235.141.44 root at west-coast Works as expected. Also $ ssh root at 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? Thank you for any help. Adam Kalisz
Björn Lässig
2024-Mar-13 11:31 UTC
ProxyJump does not accept IPv6 for the intermediate host?
On Wed, 2024-03-13 at 12:19 +0100, Adam Kalisz wrote:> Hello, > > it seems I cannot use: > > $ ssh -J root at 2a01:4f8:1c1e:528d::1 root at west-coast > Invalid -J argument >$ ssh -J root@[2a01:4f8:1c1e:528d::1] root at west-coast would work for me. greeting Bj?rn
Stuart Henderson
2024-Mar-13 11:36 UTC
ProxyJump does not accept IPv6 for the intermediate host?
On 2024/03/13 12:19, Adam Kalisz wrote:> Hello, > > it seems I cannot use: > > $ ssh -J root at 2a01:4f8:1c1e:528d::1 root at west-coast > Invalid -J argument > > (The west-coast is stored on the jump host in between in /etc/hosts.) > > $ ssh -J root at 167.235.141.44 root at west-coast > > Works as expected. Also > > $ ssh root at 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 at west-coast
Possibly Parallel Threads
- ProxyJump does not accept IPv6 for the intermediate host?
- [Bug 3702] New: sshd fork crashed when compiled with seccomp
- Bind9 9.18.28 crashes after loading AD DNS Zone
- mdraid doesn't allow creation: device or resource busy
- Feature request: ProxyJump with Unix sockets