Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Can't ssh into pfSense as non-admin with authentication keys

    Scheduled Pinned Locked Moved General pfSense Questions
    2 Posts 2 Posters 1.5k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      moogle
      last edited by

      For some strange reason I can't seem to ssh into pfSense as a non-admin user while using a ssh authentication key. If I generate a public key using ssh-keygen and paste it into "Authorized Keys" for the admin account I can login with no problems, but if I add the same key (for testing purposes) for a user with limited rights I get a "Permission denied (publickey)" error.

      Does anyone know how to fix his problem?

      1 Reply Last reply Reply Quote 0
      • jimpJ
        jimp Rebel Alliance Developer Netgate
        last edited by

        Can you login with that same user without a key? (just password?)

        Does the user actually have shell permissions assigned?

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.