Description
Possibly Windows only.
I start a SFTP server like this:
sshd = SshServer.setUpDefaultServer();
[...]
sshd.setFileSystemFactory(new VirtualFileSystemFactory(myRootDir.getCanonicalPath()));
[...]
sshd.setSubsystemFactories(Arrays.<NamedFactory<Command>>asList(new SftpSubsystemFactory()));
I connect to the server with FileZilla.
Upon connexion, the files in myRooDir correctly appear under the server path '/'. But if I cd to '/c:/Windows/', the files in C:\Windows\ appear, escaping the VFS root.