Finally managed to create a jailed SFTP server, but how secure?

Thrall, Bryan
Fri Dec 5 19:14:00 GMT 2008

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

Unsubscribe info:
Problem reports:

More information about the Cygwin mailing list