SSH refusing connection after changing default port

Posted by wm90 on Ask Ubuntu See other posts from Ask Ubuntu or by wm90
Published on 2014-01-28T07:23:21Z Indexed on 2014/06/04 15:44 UTC
Read the original article Hit count: 205

Filed under:
|

currently I'm handling 2 server (A and B). In server A I installed Ubuntu 12.10. I changed the SSH port into 1198 and it works fine. In server B it has been installed with Ubuntu 11.04. I tried to change the port number into 1198 as well but it refused the connection when I tried to connect again using Putty.

I change the SSH configuration on /etc/ssh/sshd_config and I did restart the SSH using sudo service ssh restart. I was thinking its because of firewall allowed port but the firewall shows inactive when I run sudo ufw status.

Any idea why this can happened?

© Ask Ubuntu or respective owner

Related posts about server

Related posts about ssh