Page 1 of 1

selinux allow secure copy SCP

Posted: 2019/09/19 13:15:38
by ron7000
for centos scp is allowed to happen... from other linux system to my centos-7.6 system.

rhel blocks scp (but allows ssh); in rhel if i setenforce 0 then scp is allowed to it.

what is are selinux commands to properly allow scp to happen (like in centos) so that i can keep selinux enabled as enforcing?

Re: selinux allow secure copy SCP

Posted: 2019/09/19 16:28:24
by TrevorH
rhel blocks scp (but allows ssh); in rhel if i setenforce 0 then scp is allowed to it.
Not out of the box it doesn't. You've done something weird to your RHEL box if so.