Restricted SFTP access to server for one user
Martin Hudec
corwin at aeternal.net
Tue Mar 28 09:38:26 UTC 2006
Hello Ashley,
Ashley Moran wrote:
> 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.
Maybe for the client, it would be better to use also password based
authentication, ask him - he is the client and he should define what he
wants.
> I can remove his login shell, but how do I restrict him to only view his home
> directory over SFTP?
I think that shells/scponly should have chroot ability for their users.
Cheers,
Martin
More information about the freebsd-questions
mailing list