13

Allow SFTP but deny SSH

view full story
linux-howto

http://www.unix.com – Hi I've been searching the web for a solution (to the above subject) and found something that seems to do the job. Here's the link: How to restrict users to SFTP only instead of SSH I've tested this on a Solaris 10 VM before rolling it out on the server. SFTP works fine. When I try to SSH as the user to that machine I get the password prompt, and after typing in the password and pressing enter I get the following: Code: -bash-3.00$ ssh sftp_user@solarisvm Password: Last login: Tue Jun 19 14:56:38 2012 from 192.168.1.2 No further output or user shell, etc appears on the scree (HowTos)