diff --git a/utils/reverseproxy_ssh_setup b/utils/reverseproxy_ssh_setup index adb939a..7fa818c 100755 --- a/utils/reverseproxy_ssh_setup +++ b/utils/reverseproxy_ssh_setup @@ -7,6 +7,9 @@ port="$1" # switch SSH to port $port sed -i -e 's/^#\?\s*Port\s*[0-9]\+\s*$/Port '$port'/g' /etc/ssh/sshd_config +# Install SELinux +yum install -y selinux-policy policycoreutils-python + # Tell SELinux to allow the new port semanage port -a -t ssh_port_t -p tcp "$port" -- libgit2 0.21.2