setting up chrooted ssh user, jailkit installed after ispconfig

Discussion in 'Installation/Configuration' started by bn61, Mar 15, 2010.

  1. bn61

    bn61 New Member

    I want to set up a chrooted ssh user. Everytime I try to login remotely the session gets closed immediately after the login.
    I guess it has something to do that I installed jailkit (2.11) after I installed ISPConfig3. (It's working on another machine where I did it right.)
    ... was not enough.
    Any suggestions on how to fix that?
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    You have to update ispconfig again and select to reconfigure services. Use the manual update instructions for this.

    Then delete the chrooted ssh user that you created before and recreate it.
  3. bn61

    bn61 New Member

    I am drawing a blank on this. What do you mean by
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Take a look in the ispconfig release notes, they contain a section called manual update instructions as you can not do the update with the again if the version installed on your system is the same then the version used for updating.
  5. bn61

    bn61 New Member

    Still no luck.
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    Then you might have to recreate the website. The initail ssh jail for the website is created when you created the first ssh chrooted user. If jailkit was not installed properly before, this jail can be broken and jailing will not work then.

    I recommend that you first test the jailkit functionality by creating a new dummy site with a domain like example.tld and then create a new jailed ssh user in this site. Wait a few minutes and if the jail works, then recreate the initial site.
  7. bn61

    bn61 New Member

    It works!

    I had to set up website and client new.

    Thanks for your help!
  8. lolo6tm

    lolo6tm New Member

    Jailkit SSH User do not work as expected... (ISPConfig 3.°.3.3)

    If you create zan SSH/Jailkit user using ISPConfig admin account it won't work, at least for me. You got to create it using the reseller/client account which owns the concerned website.

    Hope it will help ...

Share This Page