Finally managed to create a jailed SFTP server, but how secure?
Wed Dec 3 13:37:00 GMT 2008
> This is what I get:
> sftp> cd C:/
> Couldn't canonicalise: No such file or directory
> sftp> get C:/foo
> Couldn't stat remote file: No such file or directory
> File "/home/Administrator/C:/foo" not found.
More to come:
sftp> cd /cygdrive
sftp> ls -al
dr-xr-xr-x 1 root root 0 Jan 1 1970 .
drwxr-xr-x 5 root root 0 Dec 1 13:17 ..
*** note c/ is missing here ***
sftp> cd c
Couldn't canonicalise: No such file or directory
sftp> put foo C:/
Uploading foo to /cygdrive/C:/
Couldn't get handle: No such file or directory
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
More information about the Cygwin