allow SFTP but disallow SSH for local user

Solution Verified - Updated -

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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content