I am trying to connect to another computer via ssh. This worked fine for several months now, but since a few days I cannot connect anymore. Unfortunately I cannot tell, what caused the change. Executing
ssh -vvvvv 192.168.0.101
shows the following output:
OpenSSH_9.2p1, OpenSSL 3.0.8 7 Feb 2023
debug1: Reading configuration data /etc/ssh/ssh_config
debug2: resolve_canonicalize: hostname 192.168.0.101 is address
debug3: expanded UserKnownHostsFile '~/.ssh/known_hosts' -> '/home/username/.ssh/known_hosts'
debug3: expanded UserKnownHostsFile '~/.ssh/known_hosts2' -> '/home/username/.ssh/known_hosts2'
debug3: ssh_connect_direct: entering
debug1: Connecting to 192.168.0.101 [192.168.0.101] port 22.
debug3: set_sock_tos: set socket 3 IP_TOS 0x4
and after some time I am getting a time out:
Reseting the firewall as was suggested in Cannot SSH into server on same network - #14 by sradjoker did not work. As other users mentioned, that not ufw but firewalld is used in endeavoros, I also reseted the firewall using the instructions provided here: https://serverfault.com/questions/901220/reset-firewalld-rules-to-default
The problem cannot be caused by the server, that I want to connect to, since connected from my mobile or another computer on the same port 22 works perfectly fine.
Thank you in advance for any help!