I am using CentOS server.
I wanted to test how to kick users by kicking myself (root) user.
I used killall -u root
and it kicked me from the server which was as expected. However I am no longer able to access the server:
root@kali:~# ssh 383.123.418.10
ssh: connect to host 383.123.418.10 port 22: Connection refused
and all websites that were hosted on this server (cPanel and WHM) are down.
How do I fix this?