Is it possible to disallow SCP protocol and allow SSH protocol?
Issue
- The SCP protocol is decades old, and carries multiple security risks and issues that have no straightforward solutions.
- How to disable SCP protocol and allow only SSH protocol?
- How to disable SCP protocol?
- How to disable scp command using SCP protocol?
Environment
- Red Hat Enterprise Linux 9
- Red Hat Enterprise Linux 8 and below
- SCP
- OpenSSH
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.