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

    SSH pub key auth not working…

    2.0-RC Snapshot Feedback and Problems - RETIRED
    3
    21
    6.4k
    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

      When I disable the password login my public keys do not get recognised. If I leave password login on, then I can use my key to login. Is this a known issue?

      | 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

        Check for an existing ticket at http://redmine.pfsense.org if there isn't one, open one up. It's probably a bug.

        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
        • C
          cmb
          last edited by

          I just fixed this.

          1 Reply Last reply Reply Quote 0
          • J
            jlepthien
            last edited by

            Okay. When will such a fix be commited? Still the same problem with the build from 28th…

            | 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

              It should be in 20091228-1257 snapshot or newer.

              1 Reply Last reply Reply Quote 0
              • J
                jlepthien
                last edited by

                Ah. Okay. But this build is not available for embedded nanobsd…

                | 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

                  Well today there is a new snap for the full version. Why isn't there the new version for the nanobsd as well? Does it always take longer for nanobsd snaps to get available?

                  | 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

                    For every builder run, only one NanoBSD size is built. So depending on the size you need, it could take up to four builder runs for the proper size to be built.

                    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

                      Good to know ;)

                      Waiting for the 4g version. Today a 2g was released, so I guess tomorrow will be my time ;)

                      | 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

                        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
                                            • First post
                                              Last post
                                            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.