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

    Backup/Restore 2.2.3 does not restore "admin" SSH Authorized Keys

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    3 Posts 2 Posters 630 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.
    • N
      nicholfd
      last edited by

      Just a heads up - Full backup/restore on a 2.2.3 box does not restore the default "admin" account SSH Authorized Keys.

      This may be by design, but caught me by surprise.

      Thanks,
      Frank

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

        The full backup excludes /root/ so it doesn't include authorized_keys. Even if it did, at the subsequent reboot post-restore that file would be overwritten with the contents of authorized keys for admin in the user manager. After restoring a full backup and rebooting, you end up with the authorized_keys for the admin user as defined in the current config.xml.

        1 Reply Last reply Reply Quote 0
        • N
          nicholfd
          last edited by

          Thanks for the confirmation that this is by design and not a bug.

          I just wasn't expecting it.

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