non-login sftp user?

Ed Wilts ewilts at ewilts.org
Mon Feb 23 23:16:34 UTC 2004


On Sun, Feb 22, 2004 at 06:40:54PM -0600, Mike Vanecek wrote:
> Does anyway exist to setup a user account that can use sftp for downloading
> files, but cannot use ssh to login to a shell (as well as keep them locked
> into their home directory)?

Short answer, no.  Long answer is that the openssh development teams do
not considered a chroot'ed environment for sftp/scp a priority.  There
are some source hacks you can do but from the hacks I've read, they're
not secure.

-- 
Ed Wilts, Mounds View, MN, USA
mailto:ewilts at ewilts.org
Member #1, Red Hat Community Ambassador Program





More information about the redhat-list mailing list