TurnKey Linux Virtual Appliance Library

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

From my research there are a few different ways to go

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

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account, used to display your avatar.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <p> <span> <div> <h1> <h2> <h3> <h4> <h5> <h6> <img> <map> <area> <hr> <br> <br /> <ul> <ol> <li> <dl> <dt> <dd> <table> <tr> <td> <em> <b> <u> <i> <strong> <font> <del> <ins> <sub> <sup> <quote> <blockquote> <pre> <address> <code> <cite> <strike> <caption>

More information about formatting options

Leave this field empty. It's part of a security mechanism.
(Dear spammers: moderators are notified of all new posts. Spam is deleted immediately)