status warning - ssh restarted over and over after port change

kjg

Well-Known Member
Mar 2, 2004
180
8
168
Hi
I changed port for ssh on one server and now I get status warnings all the time about SSH being restarted.

I did the change according to the documentation:

I opened up /etc/ssh/sshd_config and changed the port in there and restarted SSH.
It works fine and I can log in using the new port

But, after I did this, I keep getting "Status warnings" saying:
SSH [restarted - 8 events]

What did I miss?

// kjg
 
Last edited:

kjg

Well-Known Member
Mar 2, 2004
180
8
168
OK, found the reason to this.

tailwatchd has to be restarted after port is changed.

case closed

//kjg
 
Last edited:

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,267
463
Hello :)

I am happy to hear the issue is now resolved. Thank you for sharing the solution with us.