2

I can not access to remote computer using ssh username@host anymore, it worked before then it stopped and I always get:

ssh: connect to host  port 22: Connection timed out

I checked firewall rules, nothing interrupting. I re-installed ssh server and made sure it is working but still the same problem. I ping to the IP address and it is responding properly.


I checked also ssh config and it is listening to port 22

Any help?

Mag
  • 21

1 Answers1

0

First of all check out if the SSH daemon is running properly. you may need to check the journald logs for further details.

You can alternatively run netstat command and see if SSH is listening on 22, and test if ‘telnet ip -port 22’ is working from the firewall to the machine ?

Check ssd_config configuration file if any restrictions in there.

Please note that any problem will be logged in the journald, the sshd.log or your firewall log.

Mrghith
  • 23
  • 4