OPNsense Forum

English Forums => General Discussion => Topic started by: Joe on December 25, 2015, 12:53:57 pm

Title: [SOLVED] How to enable ssh account?
Post by: Joe on December 25, 2015, 12:53:57 pm
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?
Title: Re: How to enable ssh account?
Post by: franco on December 25, 2015, 02:49:09 pm
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.
Title: Re: How to enable ssh account?
Post by: Joe on December 25, 2015, 08:55:31 pm
Sorry, I don't understand...

How can I activate the privileges?

The account is enabled, and it is member of "admins" group.
Title: Re: How to enable ssh account?
Post by: franco on December 25, 2015, 09:07:51 pm
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. :)
Title: [SOLVED] Re: How to enable ssh account?
Post by: Joe on December 25, 2015, 10:50:56 pm
Thanks, that was it!