OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • General Discussion »
  • [SOLVED] How to enable ssh account?
« previous next »
  • Print
Pages: [1]

Author Topic: [SOLVED] How to enable ssh account?  (Read 13642 times)

Joe

  • Newbie
  • *
  • Posts: 14
  • Karma: 0
    • View Profile
[SOLVED] How to enable ssh account?
« 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?
« Last Edit: January 09, 2016, 12:31:03 am by franco »
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 10319
  • Karma: 804
    • View Profile
Re: How to enable ssh account?
« Reply #1 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.
Logged

Joe

  • Newbie
  • *
  • Posts: 14
  • Karma: 0
    • View Profile
Re: How to enable ssh account?
« Reply #2 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.
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 10319
  • Karma: 804
    • View Profile
Re: How to enable ssh account?
« Reply #3 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. :)
Logged

Joe

  • Newbie
  • *
  • Posts: 14
  • Karma: 0
    • View Profile
[SOLVED] Re: How to enable ssh account?
« Reply #4 on: December 25, 2015, 10:50:56 pm »
Thanks, that was it!
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • English Forums »
  • General Discussion »
  • [SOLVED] How to enable ssh account?
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2021 All rights reserved
  • SMF 2.0.17 | SMF © 2019, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2