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.
    • J
      jlepthien
      last edited by

      Still there….

      With snap of 31st....

      How long does this usually take?

      Also the dashboard patch isn't in this release...

      | 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

        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

          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

            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

              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
              • jimpJ
                jimp Rebel Alliance Developer Netgate
                last edited by

                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

                  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
                  • jimpJ
                    jimp Rebel Alliance Developer Netgate
                    last edited by

                    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

                      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
                      • jimpJ
                        jimp Rebel Alliance Developer Netgate
                        last edited by

                        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

                          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

                            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.