The transport runs the shared, read-only command on an exec channel, as root first for the lock, the expiry and the failed logins, and as the login user where root is refused.