Timeline for ssh from hyper-v host to linux guest does not work. Does work perfectly from other machines. How to fix?
Current License: CC BY-SA 4.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
May 16, 2021 at 17:39 | comment | added | I grok it | No, tcpdump (running on linux) does not see the ssh connection attempts from host to linux. tcpdump shows the ssh traffice from any other machine on the net 192.168.1.0/24 to linux, though. That is why I think it's rather a hyper-v/vswitch issue, than a problem with the linux configuration. | |
May 16, 2021 at 11:24 | comment | added | grawity_u1686 | Does the Linux system receive the connection attempt packets? (Do you see them in tcpdump?) | |
May 16, 2021 at 10:40 | comment | added | I grok it | sshd is listening on 0.0.0.0:22. ssh is possible from 192.168.1.7 ("test") while it is not possible from 192.168.1.204 ("host"). also, there is no firewall active on linux. | |
May 16, 2021 at 10:08 | comment | added | grawity_u1686 |
Are you sure sshd on Linux is actually listening on this address? (Check with ss -l sport = :22 or netstat -ltn .) Are you sure the Linux firewall isn't rejecting the connection? "Connection refused" is a pretty specific indication that the server explicitly replied with a RST to the connection attempt.
|
|
May 16, 2021 at 9:57 | history | asked | I grok it | CC BY-SA 4.0 |