allow SFTP but disallow SSH for local user
Issue
- I would like to be able to prohibit an admin user named appadmin from SSHing in directly but would like to be able to transfer files to and from a system using SFTP to avoid having to transfer files as a normal user to /tmp and then moving them once they're on the system as appadmin.
Environment
- Red Hat Enterprise Linux 6.5.
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
