Chroot Shell jailkit options/path

Discussion in 'General' started by ITI, Nov 8, 2022.

  1. ITI

    ITI Member

    When creating a new shell user and selecting jailkit every thing is fine.
    However, when I open the "Options" tab and append "/web" or "/web/" to the path I get:

    11:13:15.328 Authentication completed.
    11:13:15.593 SFTP channel opened.
    11:13:15.625 SFTP channel closed by server. <<<

    Any know why the Jailkit (server) won't recognize the new path?
    If it makes any difference my ssh client is Bitvise.

    Thanks
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    The root of the jail of a ssh user can not be changed. Use FTP(s) and not SFTP by creating a FTP and not SSH user if you want to restrict uploads to the web folder
     
    ahrasis likes this.
  3. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    Which options tab and what path? The websites /web directory is available for the shell users without adding anything to the Base Dir: option. Try
    Code:
    ls -lh /web
     
  4. ITI

    ITI Member

    Well that explains it.
    Thanks for the quick reply
     

Share This Page