≡ Menu

SELinux ssh_port_t

RHEL 6: Change OpenSSH Port To 1255 ( SELinux Config )

I've edited /etc/ssh/sshd_config to change the port number:

Port 1255

However, I'm getting an error as follows:

sshd[26792]: error: Bind to port 1255 on failed: Permission denied

How do I change default OpenSSH port number from 22 to 1255 under RedHat Enterprise Linux server version 6 and SELinux?
[click to continue…]