Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    • Register
    • Login
    Introducing Netgate Nexus: Multi-Instance Management at Your Fingertips.

    .ssh authorized_keys file removed for non-root, non-admin user after upgrade

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    3 Posts 2 Posters 1.4k 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.
    • D
      dhaselhorst
      last edited by

      I've verified this on multiple systems now and they all exhibit the same behavior. After upgrades (even small point upgrades), a manually created authorized_keys file for a non-root, non-admin user is removed and not recreated. I read in other posts where this is expected behavior for root/admin, but not for other users. Is there any way to include this in the backup/restore? Thanks!

      1 Reply Last reply
      Reply Quote 0
      • C
        cmb
        last edited by

        Never manually put that there, it must be in the authorized keys field in the user manager for all users.

        1 Reply Last reply
        Reply Quote 0
        • D
          dhaselhorst
          last edited by

          All the years I've been using pfSense and I never knew that was there! I was instead creating them via an authorized key file transfer at the command line. I performed an upgrade using this methodology and it worked perfectly. Thank you!

          P.S. Chris, just a heads up… This is part of a monitoring project for pfSense that I will eventually be releasing. ;-) Good karma!

          1 Reply Last reply
          Reply Quote 0

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • First post
            Last post
          Copyright 2026 Rubicon Communications LLC (Netgate). All rights reserved.
          Privacy Policy · Cookie Policy