scp/sftp without interactive shell?

Chuck Swiger cswiger at mac.com
Thu May 3 14:58:11 UTC 2007


Ewald Jenisch wrote:
[ ... ]
> Giving the user a shell of "/bin/true" or something similar on the
> target machine is not an option since scp doesn't seem to work in this
> case.
> 
> Any ideas how this could be accomplished?

Take a look at /usr/ports/shells/scponly, or "rsh" for "restricted shells", 
more generally.

-- 
-Chuck


More information about the freebsd-questions mailing list