I always move sshd from port 22 to port nnn. To do this I use semanage
(which I had to install):
semanage port -a -t ssh_port_t -p tcp nnn
then edit /etc/ssh/sshd_config to point to port nnn.
then I edit iptables (which is off on this install, interesting, though
selinux is not) to open up port nnn.
Finally I restart sshd.
Well, first off I am sshed into the box doing this on port 22. status of
sshd is it is listening on port nnn. I tried opening another ssh
session (without stoping the one running right now), to port and get:
No route to host
To the old port 22 I get
Connection refused.
I do this all the time with Fedora and Centos. What am I missing on
this system?
I put the port back to 22 until I figure this out.
_______________________________________________
arm mailing list
arm@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/arm