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

    Creating SSH keys but every so often [randomly] they keep getting refused

    Scheduled Pinned Locked Moved General pfSense Questions
    3 Posts 2 Posters 1.1k 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.
    • J
      j.smith1981
      last edited by

      I am wondering if any other user of pfsense are getting the same error as me, when I try and create SSH keys to login to my SSH service. Every now and again they keep getting refused.

      I am able to use them up to a point but then they keep being stopped from using, technically being refused, I have noticed this about 2 weeks ago, then I thought it'd be a good idea to turn off disable password logins from the webGUI, though what I have noticed by doing that is that (I kept the id_rsa.pub file) the duplicated and then renamed to authorized_keys file has been deleted.

      Is there any way if anyone has had this problem of resolving this issue, it's really becoming annoying?

      Thanks and I await anyones reply,
      Jeremy.

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

        Are you just manually copying authorized_keys into place? You have to add the keys in System>User Manager.

        1 Reply Last reply Reply Quote 0
        • J
          j.smith1981
          last edited by

          Ahh right sorry.

          Yea makes sense to be honest, just going into auto mode myself when I do things like this with my server.

          Thanks for the tip!

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