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

SSH pub key auth not working…

Scheduled Pinned Locked Moved 2.0-RC Snapshot Feedback and Problems - RETIRED
21 Posts 3 Posters 6.5k 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.
  • C
    cmb
    last edited by Dec 31, 2009, 7:48 PM

    You'll need to edit and save admin to rewrite the authorized keys, what I fixed was removing some old code from 1.2.x that was deleting the keys where it shouldn't have been.

    1 Reply Last reply Reply Quote 0
    • J
      jlepthien
      last edited by Dec 31, 2009, 8:43 PM

      Thanks cmb! That did the trick ;) Happy New Year's Eve, now shutdown your computer ;-)

      Cheers from Germany!

      | apple fanboy | music lover | network and security specialist | in love with cisco systems |

      1 Reply Last reply Reply Quote 0
      • J
        jlepthien
        last edited by Jan 6, 2010, 1:03 PM

        Hi cmb. I just updated to the latest snap and I had to edit and save admin again. After that it works. So another bug?

        | apple fanboy | music lover | network and security specialist | in love with cisco systems |

        1 Reply Last reply Reply Quote 0
        • J
          jlepthien
          last edited by Jan 8, 2010, 12:16 PM

          With every snap I need to do this again. Can someone please fix this?

          | apple fanboy | music lover | network and security specialist | in love with cisco systems |

          1 Reply Last reply Reply Quote 0
          • J
            jimp Rebel Alliance Developer Netgate
            last edited by Jan 8, 2010, 2:52 PM

            Every firmware update it switches to a new partition, which will then not have your keys present. It probably needs a boot-time function to sync the keys.

            Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

            Need help fast? Netgate Global Support!

            Do not Chat/PM for help!

            1 Reply Last reply Reply Quote 0
            • J
              jlepthien
              last edited by Jan 8, 2010, 4:27 PM

              Well I thought that all the config including such an important file would be taken over. This is a serious issue when you do a remote upgrade ;-)

              | apple fanboy | music lover | network and security specialist | in love with cisco systems |

              1 Reply Last reply Reply Quote 0
              • J
                jimp Rebel Alliance Developer Netgate
                last edited by Jan 8, 2010, 4:53 PM

                I had thought the existing ssh keys were backed up and carried over, but that may not be the case. I haven't tried to do key-based auth on my ALIX running 2.0 yet.

                Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                Need help fast? Netgate Global Support!

                Do not Chat/PM for help!

                1 Reply Last reply Reply Quote 0
                • J
                  jlepthien
                  last edited by Jan 8, 2010, 5:00 PM

                  On 1.2.3 they were…

                  | apple fanboy | music lover | network and security specialist | in love with cisco systems |

                  1 Reply Last reply Reply Quote 0
                  • J
                    jimp Rebel Alliance Developer Netgate
                    last edited by Jan 8, 2010, 5:19 PM

                    I see what I was thinking of. The ssh host keys are backed up and restored on reboot/upgrade, but it may be missing some logic to handle the user keys.

                    Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                    Need help fast? Netgate Global Support!

                    Do not Chat/PM for help!

                    1 Reply Last reply Reply Quote 0
                    • J
                      jlepthien
                      last edited by Jan 19, 2010, 12:22 PM

                      Problem is still there with todays build :-(
                      Is this still an open ticket? This thing is huge! Think about remote updates….

                      Should be easy to fix?!

                      | apple fanboy | music lover | network and security specialist | in love with cisco systems |

                      1 Reply Last reply Reply Quote 0
                      • C
                        cmb
                        last edited by Jan 20, 2010, 5:07 AM

                        Only appears to affect embedded, I've never seen it on full. Ticket opened.
                        http://redmine.pfsense.org/issues/show/317

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post
                        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                          This community forum collects and processes your personal information.
                          consent.not_received