Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Mar 2006 10:30:53 +0100
From:      Ashley Moran <work@ashleymoran.me.uk>
To:        freebsd-questions@freebsd.org
Subject:   Restricted SFTP access to server for one user
Message-ID:  <200603281030.53485.work@ashleymoran.me.uk>

next in thread | raw e-mail | index | archive | help
Thanks to an unfortunate turn of events, we are hosting a website for a client 
that should have been hosted externally.  Now he wants FTP access to a 
directory on the server.  I don't want to install an FTP program, and we 
don't use password authentication for SSH, so I'm going to tell him to create 
a key pair and send us his public key.

I can remove his login shell, but how do I restrict him to only view his home 
directory over SFTP?

Thanks
Ashley



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200603281030.53485.work>