[SOLVED] How to enable ssh account?

Started by Joe, December 25, 2015, 12:53:57 PM

Previous topic - Next topic
December 25, 2015, 12:53:57 PM Last Edit: January 09, 2016, 12:31:03 AM by franco
Hi,

I created a user for ssh acces and have populated its authorized_keys file.

When I try to log in, I get this message:

Quote
This account is currently not available.

So, how would I activate this account?

You're most likely missing the assigned SSH login privileges. It's a bit counter-intuitive since SSH keys are uploaded out of band, but on the other hand there's no reliable model to store keys, temporary account deactivation, and so forth to go hand in hand.

Sorry, I don't understand...

How can I activate the privileges?

The account is enabled, and it is member of "admins" group.

That doesn't automatically assign shell login rights to non-root users. Go to the user's properties page, under "Effective Privileges" click "+", select "Users - System - Shell account access" and apply. That should do it. :)