How to block sftp while allowing ssh access from a specific network address or host name
Issue
- How do I block sftp access from a specific network or host name while still allowing SSH connections.
Environment
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.