CWP Login to SSH error: This account is currently not available

CWP Login to SSH error: This account is currently not available

The SSH login error This account is currently not available indicates that the user does not have a proper shell set.

SSH error: This account is currently not available
SSH error: This account is currently not available

First, check if your CWP user has access to the terminal:

Add SSH access to CWP user
Add SSH access to CWP user

Then check the /etc/passwd file for the shell

/etc/passwd
/etc/passwd

To fix this error set a shell for the user. You can do this via “chsh” command or by editing /etc/passwd file.

To list all available shells:

chsh --list-shells

To set new shell fo the user:

chsh -s /bin/bash USERNAME
whoami
Stefan Pejcic
Join the discussion

I enjoy constructive responses and professional comments to my posts, and invite anyone to comment or link to my site.