Lock SSH user in subdirectory

Discussion in 'ISPConfig 3 Priority Support' started by medo, Feb 10, 2017.

  1. medo

    medo Member HowtoForge Supporter

    Hi all,
    I was wondering if there was a way inside ISPConfig to lock a user in a subdirectory of a website.
    I have multiple users, which have to be locked in different directories.
    I achieved that using chroot capability of OpenSSH so I don't hav to touch anything in ISPConfig, just modifying sshd_config, but I would like to let client do it without having to manually do it.
    Thanks a lot.
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    ISPConfig locks a chrooted users to the root directry of the website they belong to. Other subdirectories can not be chosen.
     
    medo likes this.
  3. medo

    medo Member HowtoForge Supporter

    thanx !
     

Share This Page