Am attempting to configure SSH on port 22 on Fedora 16.
Have enabled port 22 in iptables:
-A INPUT -m state –state NEW -m tcp -p tcp –dport 22 -j ACCEPT
Now I can connect to port 22 but I had to reboot the PC for this to work - Can I not just restart or update iptables to enable this or do I have to restart every tine I make a change in iptables?
I tried 'systemctl restart iptable.service' BUT iptables is not a service (or is it??).
Also, I set 'root permissions' to NO in the sshd.config but can still login through ssh as root??
Stop and restarted the ssh.service but can stil login as root from remote PC??