sFTP nologin

Steven Howe showe at metrocastcablevision.com
Fri Mar 25 08:31:16 PST 2005


what about the scponly shell, found in /usr/ports/shells ??

I have no experience with it, but you may want to create a user to use 
that shell and transfer the files for you.....

Here's the pkg-descr


steven at peek$ more pkg-descr
[Excerpted from the README:]  "scponly" is an alternative "shell" (of sorts)
for system administrators who would like to provide access to remote 
users to
both read and write local files without providing any remote execution
privileges.  Functionally, it is best described as a wrapper to the
tried-and-true ssh suite.

scponly validates remote requests by examining the third argument passed 
to the
shell upon login.  (The first argument is the shell itself, and the 
second is
-c.)  The only commands allowed are "scp", "sftp-server" and "ls".  
Arguments
to these commands are passed along unmolested.

WWW: http://www.sublimation.org/scponly/



>freebsd-questions at freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
>
>
>  
>


More information about the freebsd-questions mailing list