在Oracle Linux中可以禁用ssh的同时启用scp么?

来源:互联网 发布:错生网络剧 编辑:程序博客网 时间:2024/05/01 13:45

转自: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 later
Linux x86-64

GOAL

Is it possible to disable SSH login and allow scp in Oracle Linux?

SOLUTION

Its not possible to disable SSH because SCP requires ssh session. its designed to use via ssh session

 

REFERENCES

NOTE:2140775.1 - How to Set up SFTP to Chroot Jail only for Specific Group
NOTE:2140767.1 - Does Oracle has rssh and scponly Package for OL7.x ?