X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Fri, 5 Dec 2008 11:41:40 -0800 (PST) From: TheO Subject: Fw: Finally managed to create a jailed SFTP server, but how secure? To: cygwin AT cygwin DOT com MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Message-ID: <771041.19379.qm@web34702.mail.mud.yahoo.com> X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 > What about: > > $ sftp localhost > Connecting to localhost... > sftp> symlink 'C:\Windows' bar > sftp> cd bar Sorry I missed out the ', here we go again with ' this time: sftp> symlink 'C:\foobar' foobar sftp> symlink 'C:\windows' windows sftp> ls -al drwxr-xr-x 2 root root 0 Dec 5 19:37 . drwxr-xr-x 3 root root 0 Dec 4 16:22 .. -rw-r--r-- 1 root root 34 Dec 5 15:52 bar lrwxrwxrwx 1 root root 4 Dec 5 15:49 foo lrwxrwxrwx 1 root root 9 Dec 5 19:37 foobar sftp> get foobar Fetching /home/Administrator/foobar to foobar Couldn't stat remote file: No such file or directory sftp> cd windows Couldn't canonicalise: No such file or directory Same result though -- 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/