TElSSHServer (as well as TElSFTPServer) is quite low-level component with which your code handles file access tasks and determines how to translate the requested path to actual filesystem path. So you are free to modify the path translation and restrict access this way.

Now, if you need only SFTP server, you need to create only SFTP subsystem and not other subsystems (such as shell or command).

We use cookies to help provide you with the best possible online experience. By using this site, you agree that we may store and access cookies on your device. You can find out more about and set your own preferences here.