转自: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 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 GroupNOTE:2140767.1 - Does Oracle has rssh and scponly Package for OL7.x ?

本文探讨了在Oracle Linux中是否可以禁用SSH登录同时仍然允许使用SCP的问题。由于SCP依赖于SSH会话,因此无法单独禁用SSH。文章还提供了相关参考资料。
1849

被折叠的 条评论
为什么被折叠?



