scp only connection

Volker volker at vwsoft.com
Mon Jun 21 08:52:06 GMT 2004


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