Hi everyone,
After updating my OS to version 21.0.4 (Ornara) from 20.2.1 (Nibia), my ssh client has stopped working. I cannot connect to any ssh server, getting always a “Connection timed out” message. I suspect it is an OS related problem because:
- I can use ssh client from other computers on the network, so no ISP blocking port 22 or router related issues here.
- I have dual boot in this computer, and I can perfectly use Windows ssh client. This just double checks the previous point, but I wanted to be sure since all the related topics I can find seem to point to these type of problems.
- ufw is inactive
- I had the same problem a couple of weeks ago but as I had no time to investigate and I needed ssh to be working on this machine, I restored a Timeshift backup from March and it went back to normal again. I also had installed some other applications along with the update, so I blamed them for the problem but it seems I was wrong. I’m pretty sure that if I go back to the same backup, it will work again, but I would like to be able to keep my OS updated
ssh -vvv output is:
OpenSSH_8.6p1, OpenSSL 1.1.1k 25 Mar 2021
debug1: Reading configuration data /etc/ssh/ssh_config
debug2: resolve_canonicalize: hostname xx.xx.xx.xx is address
debug3: expanded UserKnownHostsFile '~/.ssh/known_hosts' -> '/home/myuser/.ssh/known_hosts'
debug3: expanded UserKnownHostsFile '~/.ssh/known_hosts2' -> '/home/myuser/.ssh/known_hosts2'
debug3: ssh_connect_direct: entering
debug1: Connecting to xx.xx.xx.xx [xx.xx.xx.xx] port 22.
debug3: set_sock_tos: set socket 3 IP_TOS 0x48
debug1: connect to address xx.xx.xx.xx port 22: Connection timed out
ssh: connect to host xx.xx.xx.xx port 22: Connection timed out
(I’ve removed my server IP address and username)
I would say that the request is not even “leaving” my machine, but I don’t know how to verify it. Should I install Wireshark or any similar tool?
Thanks in advance, and please let me know if I have to provide more information. Cheers!