Ben's notes

Linux, Unix, network, radio...

User Tools

Site Tools


sshd_on_other_port_with_selinux

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Last revisionBoth sides next revision
sshd_on_other_port_with_selinux [2013/11/14 13:52] – created adminsshd_on_other_port_with_selinux [2014/06/10 12:31] admin
Line 1: Line 1:
 +{{tag>[centos selinux security rhel]}}
 +=====SSHd on other port with SELinux=====
 +
   semanage port -l | grep ssh   semanage port -l | grep ssh
      
   semanage port -m -t ssh_port_t -p tcp 4321   semanage port -m -t ssh_port_t -p tcp 4321
sshd_on_other_port_with_selinux.txt · Last modified: 2021/10/09 15:14 by 127.0.0.1