Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Mar 2006 11:36:22 +0200
From:      Martin Hudec <corwin@aeternal.net>
To:        freebsd-questions@freebsd.org
Subject:   Re: Restricted SFTP access to server for one user
Message-ID:  <44290396.3010607@aeternal.net>
In-Reply-To: <200603281030.53485.work@ashleymoran.me.uk>
References:  <200603281030.53485.work@ashleymoran.me.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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