sftp and shell access

Haulmark, Chris chris at sigd.net
Tue Dec 14 08:24:21 PST 2004


Someone broke the silence: 

> I am looking for a way to give a user an sftp account without giving
> them a shell.  So far I've tried setting their shell
> to /sbin/nologin, but when they try to log in via sftp it gives them
> a "message to long" error. 
> 
> Any pointers would be appreciated...I've tried the FAQ, handbook and
> google so far.

I have used scponly and rssh for those purposes.

Both of them are in the ports.

Chris


More information about the freebsd-questions mailing list