This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.thrall@flightsafety.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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]