Score:0

ssh Unknown error IPv6 windows10

in flag

I need to ssh a device from LAN.

I've been able to do so in IPv4 in linux and windows10 but for IPv6, it only worked in linux. enter image description here

ipconfig PC LAN:

ipconfig This is the error I got in windows10:

ssh -vvv  Admin@fdaa:bbcc:ddee::1
OpenSSH_for_Windows_8.1p1, LibreSSL 3.0.2
debug3: Failed to open file:C:/Users/SST/.ssh/config error:2
debug3: Failed to open file:C:/ProgramData/ssh/ssh_config error:2
debug2: resolve_canonicalize: hostname fdaa:bbcc:ddee::1 is address
debug2: ssh_connect_direct
debug1: Connecting to fdaa:bbcc:ddee::1 [fdaa:bbcc:ddee::1] port 22.
debug3: finish_connect - ERROR: async io completed with error: 10051, io:000002C418562F50
debug1: connect to address fdaa:bbcc:ddee::1 port 22: Unknown error
ssh: connect to host fdaa:bbcc:ddee::1 port 22: Unknown error

from the wireshark capture, the icmpv6 was sent correctly: enter image description here but it was'nt created correctly in windows (prefix 128 instead of 64) enter image description here and when I added a route manually netsh interface ipv6 add fdaa:bbcc:ddee::/64 "Ethernet" fe80:347e:1e96:7936:a9ee it worked so it's basically a problem with routing, but why this problem is caused in windows10 ?

in flag
What does ping say about the address? Probably no difference but you could try `ssh -vv Admin@[fdaa:bbcc:ddee::1]`
in flag
with ping [fdaa:bbcc:ddee::1] -> all packets were lost, ssh -vv Admin@[fdaa:bbcc:ddee::1] same output as ssh -vv Admin@fdaa:bbcc:ddee::1
in flag
can you ping your link local address? or can you see the windows host from your linux machine in `ip -6 nei` Are they on the same LAN?
in flag
yes, I can ping the LLA address, you'll find it in the problem description above
in flag
Check the error log of sshd on the target machine.
in flag
How can I check error log of sshd via windows ?
in flag
You do not have any ping output in the description, This is an issue with client not able to connect to the server. And it is not denied or timed out, but rather unknown, which makes me suspect configuration issues of the IP stack on the client.
in flag
in fact, when a connect a PC LAN with linux, the ULA address that he has is fdaa:bbcc:ddee:0:649b:bd08:1258:c7f0/64 (prefix 64) while in windows it's fdaa:bbcc:ddee:0:347e:1e96:7936:a9ee/128 (prefix 128)
in flag
Still no output from ping in the question, I think that would show any error message more clearly. (also please use text when possible, not images) You are correct you should have a `On-link` line in your route output.
Omid Estaji avatar
cn flag
Based on prefix 128 instead of 64 in your system, it means your windows didn't get RA(router advertisement) correctly. Actually you found the problem and let's find solution in RA in your network.
in flag
okey, how can I know why windows didn't receine an RA, knowing that the ICMPv6 option (RA) was sent correctly?
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.