I have a Linux machine running Centos 7. I am trying to ssh into the machine using putty or WinScp and unable to do that.
I have opened the ssh port using:
sudo iptables -A INPUT -p tcp --dport 22 -j ACCEPT
I have paled the public key inside the authorized_key file.
I have edited the
/etc/ssh/sshd_config file and enabled the
After that i have restarted the sshd service:
systemctl restart sshd.service.
Still, i am not able to reach the servers. I thought it might be an internet connection issues but I am able to go online from the machine.
The error i receive from putty upon connection is :
Network error: Connection timed out.
What am i missing? how do i fix that issue? Any help would be appreciated. Thank you.