On Fri, Apr 13, 2007 at 01:36:03PM -0600, Alberto Treviño wrote:
> 
> Has anyone implemented an SFTP server where the SFTP user could not get 
> to a shell or execute any arbitrary command via SSH?  If you have, will 
> you tell me your secrets?
> 

I've never tried doing this, but I found a page that looks helpful:

http://www.snailbook.com/faq/restricted-scp.auto.html

Another idea I saw was to change the login shell to the sftp-server
program.

-- 
Andrew McNabb
http://www.mcnabbs.org/andrew/
PGP Fingerprint: 8A17 B57C 6879 1863 DE55  8012 AB4D 6098 8826 6868

Attachment: signature.asc
Description: Digital signature

--------------------
BYU Unix Users Group 
http://uug.byu.edu/ 

The opinions expressed in this message are the responsibility of their
author.  They are not endorsed by BYU, the BYU CS Department or BYU-UUG. 
___________________________________________________________________
List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list

Reply via email to