Remote users, Jailkit and SSH authentication

Discussion in 'Installation/Configuration' started by Pyanepsion, Jan 6, 2026 at 1:25 PM.

  1. Pyanepsion

    Pyanepsion Member

    Hello,

    This question refers to section 4.6.4 ‘Command Line’ (pages 165–166 of the manual).
    The documentation presents Jailkit as a standard way to confine remote users.

    Could you clarify the expected behaviour regarding SSH authentication in this context?
    —Is SSH authentication (key or password) expected to work reliably with chrooted remote users using Jailkit?
    —Or should Jailkit mainly be considered a confinement mechanism whose behaviour may depend on the environment and is not guaranteed in all cases?

    Thank you for the clarification.
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Jailed SSH users work reliably and in the same way as non-jailed users work. The jail is enforced by the jailkit shell, which is set for the user in /etc/passwd, so authentication happens before the user is jailed.
     
  3. Pyanepsion

    Pyanepsion Member

    Thank you for this clarification.
     

Share This Page