Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save tecsyscom/de387852e534f55a9d3ff1978d97229d to your computer and use it in GitHub Desktop.
Save tecsyscom/de387852e534f55a9d3ff1978d97229d to your computer and use it in GitHub Desktop.
SELinux enable, ssh 22 port?
SELINUX=enforcing would disable sshd non-22 port access until:
semanage port -a -t ssh_port_t -p tcp 12345
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment