[Chugalug] Setting up a user for scp/sftp access ONLY

John Aldrich jmaldrich at yahoo.com
Tue Oct 8 15:30:25 UTC 2013

Quoting James Nylen <jnylen at gmail.com>:

> Has anyone set up a user for scp/sftp access only via SSH?  I want this
> user to be able to read/write files in a specific directory, but not to do
> anything else.
> This link says I should be able to do it by setting the shell to /bin/false
> , which did not work for me:
> http://serverfault.com/questions/268977/how-can-i-create-a-user-only-for-sftp
> It looks like scponly will do what I want, but the installation process
> looks difficult:
> https://github.com/scponly/scponly
> Has anyone done this, using scponly or some other method?

That's odd... in the old days, setting the shell to /bin/false worked  
perfectly. I know it did when I was working for Mike years ago. Maybe  
something has changed so that the system overrides that shell setting??

More information about the Chugalug mailing list