转自:Is it possible to disable ssh login and allow scp in Oracle Linux? (Doc ID 2140770.1)
APPLIES TO:
Linux OS - Version Oracle Linux 6.0 and laterLinux x86-64
GOAL
Is it possible to disable SSH login and allow scp in Oracle Linux?
SOLUTION
Its not possible to disableSSHbecauseSCPrequires sshsession. itsdesigned to use via ssh session
REFERENCES
NOTE:2140775.1 - How to Set up SFTP to Chroot Jail only for Specific GroupNOTE:2140767.1 - Does Oracle has RSSh and scponly Package for OL7.x ?