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

    .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 960 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
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.