JSOPanel Get started
Help Center › Administrators › SSH or the web terminal stops working for some accounts after a reboot

SSH or the web terminal stops working for some accounts after a reboot

Why a few accounts can't sign in over SSH or open the terminal after a restart, and how to repair them.

After the server restarts, SSH logins or the web terminal fail for some accounts but not others, often a different part of the environment missing for each one.

What it means

Each SSH account runs in its own restricted environment, made of several pieces the system attaches when the server starts. Occasionally one or two of them are not attached after a reboot. The account then looks fine but cannot start a session.

Steps

  1. Check one affected account. Replace ACCOUNT with its username:
    sudo jsopctl jail verify ACCOUNT
    Lines marked [BAD] name what is missing.
  2. Repair every account that is short of something. It leaves healthy ones alone:
    sudo jsopctl jail heal
  3. Run verify again for the same account. It should print no [BAD] lines, then ask the customer to sign in again.
Tip: this repair also runs by itself a few minutes after every restart and on every upgrade, so most cases clear without anyone doing anything. Run it by hand only when you need the account working right away.