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

    Pfsense-tools missing from repository

    Scheduled Pinned Locked Moved Development
    81 Posts 22 Posters 31.2k 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.
    • bmeeksB
      bmeeks
      last edited by

      @razzfazz:

      @bmeeks:

      The URL that Jeremy posted is correct and worked fine for me.

      I'm pretty sure there should either be a colon between the host name and the path ("git@git.pfsense.org**:**/pfsense-tools") or a protocol prefix to make it a proper URL.

      In any case, I, too, get successful authentication via ssh ("fatal: Interactive git shell is not enabled."), but "repository not found" errors when using git.

      You are correct.  My bad in not noticing Jeremy's URL was not 100% correct.  I looked at it too fast… :-[

      Here is the correct one:

      [code]git clone git@git.pfsense.org:pfsense-tools tools.git

      You can replace the tools.git part with whatever you want your local copy of the repository to be named.  This exact command worked for me this morning.  It does take about 5 minutes for the SSH keys to replicate from one server to the other, but I assume that should have happened by now.

      Bill

      1 Reply Last reply Reply Quote 0
      • R
        razzfazz
        last edited by

        Ah, so it's a relative path. Poking around a bit, it looks like the full path is /git/pfsense-tools[.git]; both of the following do work for me:

        
        git clone git@git.pfsense.org:/git/pfsense-tools.git
        git clone ssh://git@git.pfsense.org/git/pfsense-tools.git
        
        
        1 Reply Last reply Reply Quote 0
        • K
          kpa
          last edited by

          I just signed the ICLA and the TLA and I pasted my SSH public key to the field reserved for it. However I'm using a DSS key instead of the standard RSA key and it looks like the web interface is truncating my key. Do I really have create a new RSA key just for this purpose?

          1 Reply Last reply Reply Quote 0
          • K
            kpa
            last edited by

            @kpa:

            I just signed the ICLA and the TLA and I pasted my SSH public key to the field reserved for it. However I'm using a DSS key instead of the standard RSA key and it looks like the web interface is truncating my key. Do I really have create a new RSA key just for this purpose?

            I got it working with a new RSA key and the web interface didn't truncate it this time. Please fix it so that people can use their existing DSS keys, thanks in advance.

            1 Reply Last reply Reply Quote 0
            • jdillardJ
              jdillard
              last edited by

              kpa, what was the total length of your DSS key? Do you know if it may have copied newlines in with it?

              1 Reply Last reply Reply Quote 0
              • K
                kpa
                last edited by

                I copy/pasted both keys the same way by using pbcopy on my macbook and pasting the keys with cmd-V to the input box, only the RSA key didn't get truncated. I'm sure there weren't any newlines. The DSA public key file is 617 characters long and the RSA public key file is 409 characters.

                1 Reply Last reply Reply Quote 0
                • ?
                  Guest
                  last edited by

                  Jeremy just patched things up to handle up to 1K char keys.

                  1 Reply Last reply Reply Quote 0
                  • M
                    MindfulCoyote
                    last edited by

                    @gonzopancho:

                    Jeremy just patched things up to handle up to 1K char keys.

                    I'm having some trouble too. My key is 395 bytes total, but it keeps getting truncated to 256 bytes on the profile page.

                    wc -lc .ssh/id_rsa.pub

                    1 395 .ssh/id_rsa.pub

                    ssh-keygen -v -lf .ssh/id_rsa.pub

                    2048 d8:ea:18:bb:4c:0e:24:81:2c:3a:50:39:7a:d1:22:20  mindfulcoyote (RSA)
                    +–[ RSA 2048]–--+
                    |E .o            |
                    |=.= .            |
                    |=+ +            |
                    |=..    o        |
                    |+..  . S        |
                    | +    .        |
                    |  . o .          |
                    |  = =          |
                    |    *..          |
                    +-----------------+

                    Here's what I paste:
                    ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDTYaQ2wNz6fh7cB/NNpYhT07IuDRtGc5QPWqH+1o3kNy3rR4O/gxk4bWC/F7ccWrfeHfzjJWdwrOFc/9OuOdWEVM2NqZb7vqZqWx1wA18ELwnNWKSYpC9lkz+ElMI7F1maGcLDCAwsjT/c/EZV68I3mk+TWZ9KS0Vue1GoxbPR8i7aC5xaln+Y2SYjhpjeIEGDFiKfKEQerQ3ymXZ/OqGPlr/YI9X0Mr7/ypZfXkZrbkAcHK/vFejnD5BL7QA1YmPnaS2HTdKfRcga5rkjWTOKMpQCHdfASPCaC5TilfZcOJpQsXSrcl17ncB66zUZ9bexT4YSsQxXGHFJHY93Z50/ mindfulcoyote

                    Here's what comes back after saving:
                    ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDTYaQ2wNz6fh7cB/NNpYhT07IuDRtGc5QPWqH+1o3kNy3rR4O/gxk4bWC/F7ccWrfeHfzjJWdwrOFc/9OuOdWEVM2NqZb7vqZqWx1wA18ELwnNWKSYpC9lkz+ElMI7F1maGcLDCAwsjT/c/EZV68I3mk+TWZ9KS0Vue1GoxbPR8i7aC5xaln+Y2SYjhpjeIEGDFiKfKEQerQ3ymXZ/OqGPlr/

                    No line feeds or carriage returns. The only white space is after ssh-rsa and between the key and the name at the end.
                    Any tips? Are we supposed to paste just the fingerprint? Or add a newline every 76 characters?

                    Err

                    –
                    Erreu Gedmon

                    Firewalls are hard...
                    but the book makes it easier: https://portal.pfsense.org/book/

                    1 Reply Last reply Reply Quote 0
                    • jdillardJ
                      jdillard
                      last edited by

                      There was a database corruption issue. If your key isn't working please re-enter it as it should work now.

                      1 Reply Last reply Reply Quote 0
                      • M
                        MindfulCoyote
                        last edited by

                        @jdillard:

                        There was a database corruption issue. If your key isn't working please re-enter it as it should work now.

                        Oh sorry, I'd better stop uploading buffer overruns.  ;D  j/k!

                        Err

                        –
                        Erreu Gedmon

                        Firewalls are hard...
                        but the book makes it easier: https://portal.pfsense.org/book/

                        1 Reply Last reply Reply Quote 0
                        • R
                          razzfazz
                          last edited by

                          Still can't seem to access the tools repo. portal.pfsense.org seems down, too?!

                          1 Reply Last reply Reply Quote 0
                          • D
                            dreamcat4
                            last edited by

                            @jdillard:

                            There was a database corruption issue. If your key isn't working please re-enter it as it should work now.

                            Nope. Didn't work. pfsense server still fails to authenticate.

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

                              https://forum.pfsense.org/index.php?topic=79413.0

                              Repo access is currently intermittent, until we get it fixed.  Updating your key, will fix it until it breaks again.

                              Jessica Porter

                              1 Reply Last reply Reply Quote 0
                              • D
                                dreamcat4
                                last edited by

                                @jporter:

                                https://forum.pfsense.org/index.php?topic=79413.0

                                Repo access is currently intermittent, until we get it fixed.  Updating your key, will fix it until it breaks again.

                                Ah OK. Thanks for this infos. Actually, I had updated my key about 10 or 20 times and it never worked once. But hey. Ever considered putting it up on Github? Hahaha. They don't have such reliability problems over there.

                                No but seriously, you can have private Github repositories too! Maybe there is a too low restriction for the number of users however. There is Bitbucket too.

                                1 Reply Last reply Reply Quote 0
                                • ?
                                  Guest
                                  last edited by

                                  Being insulting doesn't help

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