Support for security such as Firewalls and securing linux
- Posts: 1305
- Joined: 2014/05/14 10:06:37
- Location: GMT
If you have trouble connecting to your server via ssh, connect via monitor, su - root and issue the following command:
Code: Select all
firewall-cmd --zone=public --permanent --add-service=ssh
Root is evil: Do not use root (sudo) to run any of the commands specified in my posts unless explicitly indicated. Please, provide the necessary amount of context to understand your problem/question.
- Posts: 10642
- Joined: 2005/08/05 15:19:54
- Location: Northern Illinois, USA
Then run the command again without --permanent.
- Posts: 16
- Joined: 2016/03/05 17:01:46
Thanks for all the great suggestions and ideas, but nothing of this helped me further.
I solved this by reïnstalling the server