open-remote-ssh
open-remote-ssh copied to clipboard
mdns IPv6 connect EINVAL
Trying to connect via [email protected] but connection fails instantly. The device is pingable. Connecting via the device's ipv4 works as expected.
[Info - 04:49:09.444] Resolving ssh remote authority '[email protected]' (attemp #1)
[Trace - 04:49:09.463] Identity keys:
/home/ayrton/.ssh/id_ed25519 ssh-ed25519 SHA256:[redacted]
ayrton@AyrtonsLaptop ssh-rsa SHA256:[redacted]
[Error - 04:49:09.469] Error resolving authority
Error: connect EINVAL fe80::96e2:3cff:fe4e:d41e:22 - Local (:::0)
at internalConnect (node:net:931:16)
at defaultTriggerAsyncIdScope (node:internal/async_hooks:465:18)
at GetAddrInfoReqWrap.emitLookup [as callback] (node:net:1075:9)
at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:73:8)
$ ping fe80::96e2:3cff:fe4e:d41e%wlan0
PING fe80::96e2:3cff:fe4e:d41e%wlan0(fe80::96e2:3cff:fe4e:d41e%wlan0) 56 data bytes
64 bytes from fe80::96e2:3cff:fe4e:d41e%wlan0: icmp_seq=1 ttl=64 time=212 ms
64 bytes from fe80::96e2:3cff:fe4e:d41e%wlan0: icmp_seq=2 ttl=64 time=31.8 ms
^C
--- fe80::96e2:3cff:fe4e:d41e%wlan0 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1001ms
rtt min/avg/max/mdev = 31.796/122.116/212.437/90.320 ms
$ ping intellaptop.local
PING intellaptop.local (192.168.1.46) 56(84) bytes of data.
64 bytes from intellaptop.local (192.168.1.46): icmp_seq=1 ttl=64 time=48.8 ms
^C
--- intellaptop.local ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 48.750/48.750/48.750/0.000 ms