X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" 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" To: X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Content-Transfer-Encoding: 8bit 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/