On Fri, 2005-03-25 at 10:59 -0500, Eric McCoy wrote: > Grant Peel wrote: > > Is there a quick - secure way to allow the sshd sFTP subsystem to allows > > sftp connections without allowing shell accounts? > > Create the account and set its shell to /sbin/nologin. You can safely > add that to /etc/shells: it does its name and just prints a terse > message before booting the user if he tries to connect via vanilla SSH.
Hmmm... I tried that myself before and it didn't work. I get: Received message too long 1416128883 from sftp if I try to log in to an account with /sbin/nologin as the shell. That's why I suggested rssh to the OP. Peter. _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"