Re: chroot'd SFTP

This is a discussion on Re: chroot'd SFTP within the OpenSSH Development forums, part of the Networking and Network Related category; On Sun, Jul 29, 2007 at 12:46:13AM +0300, Richard Storm wrote: > There must be such feature in ...


Go Back   Usenet Forums > Networking and Network Related > OpenSSH Development

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 07-29-2007
Peter Stuge
 
Posts: n/a
Default Re: chroot'd SFTP

On Sun, Jul 29, 2007 at 12:46:13AM +0300, Richard Storm wrote:
> There must be such feature in openssh out of box.


I'm not so sure..


> # useradd -d /data/p0rn -m share
>
> /etc/ssh/sshd_config:
> Match user share
> X11Forwarding no
> AllowTCPForwarding no
> ForceCommand /usr/libexec/sftp-server -C %d
>
> pkill sshd; /usr/sbin/sshd
> and done :)


Couldn't one just use a wrapper script doing the equivalent of the
patch and then exec:ing sftp-server ?


//Peter
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@mindrot.org
https://lists.mindrot.org/mailman/li...enssh-unix-dev
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 08:37 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0