Chroot SFTP users

campbellgolf's picture

Anyone have a "ssh_config" example that will chroot users and works with Turnkey file server?  I'd like to chroot users that are accessing the SSH server for SFTP and send them to a joint directory to share from.

Jeremy Davis's picture

The two most obvious ones are:

Configuring a SSH/SFTP chroot jail. Links here and here.

Or using vsftp setting up an FTPS chroot jail, link here. Note that vsftp is already installed on the Fileserver appliance but is bound to localhost only - for eXtplorer's FTP function . I am unfamilair with the setup but it may mean that you have to remove the eXtplorer FTP facility to allow remote access (not sure though).

Post new comment