delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-Spam-Check-By: | sourceware.org |
MIME-Version: | 1.0 |
Subject: | RE: Finally managed to create a jailed SFTP server, but how secure? |
Date: | Fri, 5 Dec 2008 13:13:56 -0600 |
Message-ID: | <297343D29C14AA4D822142893ABEAEF305C4486F@srv1163ex1.flightsafety.com> |
In-Reply-To: | <18774.73042.qm@web34706.mail.mud.yahoo.com> |
References: | <18774 DOT 73042 DOT qm AT web34706 DOT mail DOT mud DOT yahoo DOT com> |
From: | "Thrall, Bryan" <bryan DOT thrall AT flightsafety DOT com> |
To: | <cygwin AT cygwin DOT com> |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id mB5JEiZk032524 |
TheO wrote on Friday, December 05, 2008 1:01 PM: >> You also need to try symlinks that point outside the "jail". Try >> creating them both from the shell and within SFTP. >> > > Just got back from my Christmas shopping and now back to work :) > > I don't know how to create a symlink from inside SFTP What about: $ sftp localhost Connecting to localhost... sftp> symlink 'C:\Windows' bar sftp> cd bar sftp> ls *exe Alcmtr.exe FramePkg.exe HideWin.exe IsUninst.exe MicCal.exe RTHDCPL.exe RTLCPL.exe RtlUpd.exe SkyTel.exe SoundMan.exe alcwzrd.exe explorer.exe hh.exe regedit.exe twunk_16.exe twunk_32.exe winhelp.exe winhlp32.exe I don't have my sftp chrooted, but I don't know any reason why the above wouldn't work on a Cygwin chrooted system. -- Bryan Thrall FlightSafety International bryan DOT thrall AT flightsafety DOT com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |