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

    Adding ssh authorizedkeys via script

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    2 Posts 1 Posters 607 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.
    • I Offline
      ironashram
      last edited by

      Hello,
      i would like to insert an ssh authorizedkey via php script executed at first boot, i'm trying to use config.inc, i've been able to pupulate the correct field however it's not working.
      I tried inserting the key from web interface and checking in config file it is being written in another format, so the issue is there, do you have any idea on how to accomplish this?

      1 Reply Last reply Reply Quote 0
      • I Offline
        ironashram
        last edited by

        nevermind it's a base64 encode

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