I have Ubuntu 22.04 newly installed on my laptop. I am trying to connect to a remote server and getting the following error:
ssh: connect to host ********* port 22: Connection timed out
I tried some solutions which include,
- ping the IP address
- adding the IP address to the firewall using sudo ufw
- installing ssh and openssh
However, nothing seems to work. I’d be thankful if someone can help me to solve this problem.
2
Answers
I have this kind of problem too I contact the server admin and said the operation system should be install again due to some problems
after re installing the problem solved try it it may works
If you can ping the server it can be the following causes:
You do not need to install the openssh server in your computer to access a remote hosts and normally outbound connections are allowed by ufw.