Closed LazyRichard closed 4 years ago
Connecting with IPv6 works for my setup (two computers connected to the same local network).
Is your remote server on the same local network as the computer running vscode? Your IPv6 address looks like a link-local address since it starts with fe80
. If you're not on the same local network, it won't be able to use that address to connect. Try setting the remoteX11.SSH.host
setting to match whatever address or hostname you used to create the remote connection in VS Code.
The reason to IP address start with fe80 is remote computer is VM inside hyper-v in host computer.
the address in SSH_CONNECTION has interface name
fe80::eefa:b07d:7ae7:aa6d**%eth0**
I think the problem caused by the interface name.
because when i delete interface name in address. then works fine
That's odd. I can connect regardless of whether there's a scope ID at the end.
I'm not completely familiar with how IPv6 works, but it seems like I can probably always strip the scope ID off any address from SSH_CONNECTION.
Thank you for great extensions.
but i had some problem with IPv6.
when i using mDNS. then SSH connection is using IPv6.
but when IPv6, extension error occured.
Remote Server
ip addr show
Remote Server -
$SSH_CONNECTION
VsCode Output - Remote X11 (SSH)