I am using ubuntu 20.04. ssh was working until I rebooted my computer. Since then I am not able to connect using ssh anymore.
"ssh exemple.com" surprisingly works. but "ssh 8.8.8.8", or "ssh google.com" outputs "Network is unreachable" and telnet google.com 22 gives "Network is unreachable" although I can navigate on my browser.
/etc/ssh/ssh_config contains "Port 22"
I already tried all approaches I could found on the internet. My guess is that ssh request is blocked before reaching the network, but I don't know how to address this problem.
Thanks
Edit : ssh [email protected] -vvv would ask for password, but now shows:
OpenSSH_8.2p1 Ubuntu-4ubuntu0.2, OpenSSL 1.1.1f 31 Mar 2020
debug1: Reading configuration data /home/antoine/.ssh/config
debug1: Reading configuration data /etc/ssh/ssh_config
debug3: /etc/ssh/ssh_config line 19: Including file /etc/ssh/ssh_config.d/ssh_ant.conf depth 0
debug1: Reading configuration data /etc/ssh/ssh_config.d/ssh_ant.conf
debug1: /etc/ssh/ssh_config line 21: Applying options for *
debug2: resolve_canonicalize: hostname 18.198.187.192 is address
debug2: ssh_connect_direct
debug1: Connecting to 18.198.187.192 [18.198.187.192] port 22.
debug1: connect to address 18.198.187.192 port 22: Connection timed out
ssh: connect to host 18.198.187.192 port 22: Connection timed out
ssh google.comand I gotnetwork unreachable. I think it is difficult for a program to distinguish the exact reason why a connection attempt failed