adminMaintenance

Manage the bastion maintenance mode

usage

--osh adminMaintenance <--lock [--message "'reason for maintenance'"]|--unlock>

--lock

Set maintenance mode: new logins will be disallowed

--unlock

Unset maintenance mode: new logins are allowed and the bastion functions normally

--message MESSAGE

Optionally set a maintenance reason, if you're in a shell, quote it twice.