scp only connection

Robert Bopko robert at bopko.com
Mon Jun 21 09:03:17 GMT 2004


Hey Volker,

take a look at /usr/ports/shells/scponly port, it should satisfy your
needs.

Kind regards,

Robert

On Fri, 2004-06-18 at 23:01, Volker wrote:
> Hi!
> 
> Does anybody know if it's possible to have a user scp'ing only on a 
> FreeBSD machine and deny ssh access?
> 
> I've got an sshd running and want one user only use scp but disallow ssh 
> access. I've tried to set the shell to /bin/false but then even scp 
> won't be accessible (does anybody know why??).
> 
> This machine does not have an ftpd installed (and I don't want to).
> 
> Is there a way to restrict an ssh user to scp only?
> 
> Thx,
> 
> Volker




More information about the freebsd-isp mailing list