Re: modify sshd port number

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



pete b. wrote:
OS: FC-10
If the sshd_config port number is changed and then sshd restarted, I get
an error from SElinux.  SElinux troubleshoot told me to do the following
(which
results in another problem).  Is this saying the port number I've chosen
may have a conflict or just the correct semanage options must be used.
SELinux popup: AVC denial

[root@128 sysconfig]# semanage port -a -t PORT_TYPE -p PROTOCOL 8888
/usr/sbin/semanage: Protocol udp or tcp is required

Uh, "man semanage" would point you in the right direction.  If you want
to use port 8888 for TCP, then:

	# semanage -a port -t ssh_port_t -p tcp 8888

You can view the current port listings via:

	# semanage port -l

----------------------------------------------------------------------
- Rick Stevens, Systems Engineer                      ricks@xxxxxxxx -
- AIM/Skype: therps2        ICQ: 22643734            Yahoo: origrps2 -
-                                                                    -
-     Veni, Vidi, VISA:  I came, I saw, I did a little shopping.     -
----------------------------------------------------------------------

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux