Skip to content

Instantly share code, notes, and snippets.

@MarkZhangTW
Created June 8, 2020 01:54
Show Gist options
  • Save MarkZhangTW/e1872278e8037ef74fee65df8f4309ff to your computer and use it in GitHub Desktop.
Save MarkZhangTW/e1872278e8037ef74fee65df8f4309ff to your computer and use it in GitHub Desktop.
`semanage port --add --type ssh_port_t --proto tcp 1234`
`semanage port -a -t ssh_port_t -p tcp 1234`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment