[Bug 3161] New: ssh -J <public IPv6> <LL IPv6%scopeID> doesn't work as expected

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Thu May 7 15:47:37 AEST 2020


https://bugzilla.mindrot.org/show_bug.cgi?id=3161

            Bug ID: 3161
           Summary: ssh -J <public IPv6> <LL IPv6%scopeID> doesn't work as
                    expected
           Product: Portable OpenSSH
           Version: 8.2p1
          Hardware: 68k
                OS: Mac OS X
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: sshd
          Assignee: unassigned-bugs at mindrot.org
          Reporter: owen at delong.com

I'm unsure whether this is a bug in the client or server or both.

It appears that there is no syntax which will work for this scenario:

1. Original Client and "Jump" Host both have public IPv6 addresses.
2. Target host has only Link Local IPv6 address on same link as Jump
Host.

In principal, I believe the following incantation (or some similar
form) should work (assuming Jump Host with address 2001:db8:f3f4::2ae0
and target host with address fe80::2001:db8:3 on common link interface
enp0s31f6 (interface ID on jump host):

ssh -J '[2001:db8:f3f4::2ae0]' '[fe80::2001:db8:3%enp0s31f6]'

However, this results in the following:
% ssh -J '[2001:db8:f3f4::2ae0]' '[fe80::2001:db8:3]'                  
                                              2020/05/06 22:41:51
Bad stdio forwarding specification '[[fe80::2001:db8:3%enp0s31f6]]:22'
ssh_exchange_identification: Connection closed by remote host

Jump host is Fedora 31 with the following SSH Packages installed:
sshpass-1.06-8.fc31.x86_64
qemu-block-ssh-4.1.1-1.fc31.x86_64
libssh-0.9.3-1.fc31.x86_64
apache-sshd-2.2.0-2.fc31.noarch
libssh-config-0.9.3-1.fc31.noarch
jsch-agent-proxy-sshagent-0.0.8-11.fc31.noarch
jsch-agent-proxy-trilead-ssh2-0.0.8-11.fc31.noarch
openssh-clients-8.1p1-1.fc31.x86_64
libssh2-1.9.0-3.fc31.x86_64
trilead-ssh2-217-13.jenkins8.fc31.noarch
openssh-8.1p1-1.fc31.x86_64
openssh-server-8.1p1-1.fc31.x86_64

Target host (and origin host) is iMac running OSX Mojave 10.14.6
OpenSSH_8.1p1, OpenSSL 1.1.1d FIPS  10 Sep 2019
(client and server report same version string)

-- 
You are receiving this mail because:
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list