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.
    • ?
      Guest
      last edited by

      Please go to https://portal.pfsense.org/ and create an account if you don't have one.  Note that there is now a $0 'developer' account.  Thus, you don't need to be a paying member, though if you already are one, you don't need to create a new account.

      Next if you execute the ICA/CCA (pick one) and then the License Agreement, there will a place to put your ssh public key in and, once the sync occurs, you will be able to access the tools repo.

      https://portal.pfsense.org/members/signup/ICLA  (if you're signing as an individual)
      https://portal.pfsense.org/members/signup/CCLA  (if you're signing on behalf of a corporation)
      https://portal.pfsense.org/members/signup/LA

      The only reason we haven't posted about it is that it was late on Friday before we verified everything was working.

      The git server pulls the keys from the portal system every 5 minutes, so once you have both agreements checked, and your key in you have access.

      (Edit: Obviously, this needs some editing.)

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

        I must be missing something… The only options for "membership type" that I see there are "Gold Subscription" ($99/yr), "pfSense Support" ($400/yr) and "pfSense After-Hours Support" ($250/wk). This is on the "subscribe for access" tab, which is where the "signup here" link takes me; I did't see a registration link anywhere else.

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

          I guess what you're saying is the URLs you mentioned are used both for creating an account and for signing the agreement?

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

            If you sign the ICLA or CCLA first, then the TLA, you should be able to do the rest.

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

              Seems to have worked, thanks.

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

                So once all that is in place, how do I find out how to actually access the repository? I can't seem to find any pointers to it on the portal side; will I just get an email once my key has been set up?

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

                  git pull.

                  All will be explained in a longer post, later today (possibly tonight).

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

                    "git clone git@git.pfsense.org/pfsense-tools"

                    Most people that are having trouble are not getting both agreements, and putting their key in, without those won't work.

                    Jessica Porter

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

                      @jporter:

                      "git clone git@git.pfsense.org/pfsense-tools"

                      Most people that are having trouble are not getting both agreements, and putting their key in, without those won't work.

                      Thanks, the URL is what I was looking for (and couldn't find anywhere on the member site).

                      1 Reply Last reply Reply Quote 0
                      • O
                        ohmantics
                        last edited by

                        @jporter:

                        "git clone git@git.pfsense.org/pfsense-tools"

                        Most people that are having trouble are not getting both agreements, and putting their key in, without those won't work.

                        I've executed the ICLA, the TLA, provided id_rsa.pub in the proper spot, etc.

                        I corrected the above command to ssh://git@… and it's not working.

                        What am I missing?

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

                          I think he probably intended to say "[username]@" instead of "git@", presumably with "[username]" matching what you registered as on the portal site.

                          That said, like you, I signed both the ICLA and the TLA, and submitted a public key; all of this was done last night, and it all shows up on my profile on the portal site. Nevertheless, when I try to actually connect, I still get a password prompt, so it looks like there's something wrong with my key. Could somebody please clarify what format the web form expects the key to be in? I just copied the entire line from my ssh public key file, including the leading "ssh-rsa" and trailing user name. Are there any restrictions on key type or size?

                          1 Reply Last reply Reply Quote 0
                          • O
                            ohmantics
                            last edited by

                            @razzfazz:

                            I think he probably intended to say "[username]@" instead of "git@", presumably with "[username]" matching what you registered as on the portal site.

                            That said, like you, I signed both the ICLA and the TLA, and submitted a public key; all of this was done last night, and it all shows up on my profile on the portal site. Nevertheless, when I try to actually connect, I still get a password prompt, so it looks like there's something wrong with my key. Could somebody please clarify what format the web form expects the key to be in? I just copied the entire line from my ssh public key file, including the leading "ssh-rsa" and trailing user name. Are there any restrictions on key type or size?

                            I also tried my username and got a password prompt. Copying the key exactly as you describe has worked with other instances where I need to provide such a key.

                            1 Reply Last reply Reply Quote 0
                            • bmeeksB
                              bmeeks
                              last edited by

                              @ohmantics:

                              @razzfazz:

                              I think he probably intended to say "[username]@" instead of "git@", presumably with "[username]" matching what you registered as on the portal site.

                              That said, like you, I signed both the ICLA and the TLA, and submitted a public key; all of this was done last night, and it all shows up on my profile on the portal site. Nevertheless, when I try to actually connect, I still get a password prompt, so it looks like there's something wrong with my key. Could somebody please clarify what format the web form expects the key to be in? I just copied the entire line from my ssh public key file, including the leading "ssh-rsa" and trailing user name. Are there any restrictions on key type or size?

                              I also tried my username and got a password prompt. Copying the key exactly as you describe has worked with other instances where I need to provide such a key.

                              The URL that Jeremy posted is correct and worked fine for me.  I initially had some problems with the git setup on my local workstation.  The first thing you need to verify is that you can correctly authenticate to this URL from a bash prompt in your git installation.

                              ssh -T git@github.com
                              

                              Until that correctly authenticates you, the other URL is not going to work either.  My problem on Windows 7 was the ssh_agent was not running.  Manually starting it fixed the problem.  You can then configure it to automatically start with each git session.

                              There is a Help page on the Github site detailing how to setup SSH keys.  Here is the link I used: https://help.github.com/articles/generating-ssh-keys

                              You can also run this command to print more detailed troubleshooting information

                              ssh -Tv git@git.pfsense.org
                              

                              … or run the same command against the base git@github.com URL.  If you run the test against the git@git.pfsense.org URL, it will say during the output that "Authentication succeeded".  You won't actually get a shell prompt because that is disabled, but you should see that it authenticates your ID.  If it fails to authenticate, you will hopefully find out why by inspecting the detailed output.

                              1 Reply Last reply Reply Quote 0
                              • O
                                ohmantics
                                last edited by

                                @bmeeks:

                                @ohmantics:

                                @razzfazz:

                                I think he probably intended to say "[username]@" instead of "git@", presumably with "[username]" matching what you registered as on the portal site.

                                That said, like you, I signed both the ICLA and the TLA, and submitted a public key; all of this was done last night, and it all shows up on my profile on the portal site. Nevertheless, when I try to actually connect, I still get a password prompt, so it looks like there's something wrong with my key. Could somebody please clarify what format the web form expects the key to be in? I just copied the entire line from my ssh public key file, including the leading "ssh-rsa" and trailing user name. Are there any restrictions on key type or size?

                                I also tried my username and got a password prompt. Copying the key exactly as you describe has worked with other instances where I need to provide such a key.

                                The URL that Jeremy posted is correct and worked fine for me.  I initially had some problems with the git setup on my local workstation.  The first thing you need to verify is that you can correctly authenticate to this URL from a bash prompt in your git installation.

                                ssh -T git@github.com
                                

                                Until that correctly authenticates you, the other URL is not going to work either.  My problem on Windows 7 was the ssh_agent was not running.  Manually starting it fixed the problem.  You can then configure it to automatically start with each git session.

                                There is a Help page on the Github site detailing how to setup SSH keys.  Here is the link I used: https://help.github.com/articles/generating-ssh-keys

                                You can also run this command to print more detailed troubleshooting information

                                ssh -Tv git@git.pfsense.org
                                

                                … or run the same command against the base git@github.com URL.  If you run the test against the git@git.pfsense.org URL, it will say during the output that "Authentication succeeded".  You won't actually get a shell prompt because that is disabled, but you should see that it authenticates your ID.  If it fails to authenticate, you will hopefully find out why by inspecting the detailed output.

                                Thanks for the detailed walkthrough. I've used ssh keys with other sites just fine. ssh -Tv says

                                
                                debug1: Authentication succeeded (public key).
                                Authenticated to git.pfsense.org ([208.123.73.74]:22).
                                
                                

                                For the originally provided command, "git clone git@git.pfsense.org/pfsense-tools" I get:

                                
                                fatal: repository 'git@git.pfsense.org/pfsense-tools' does not exist
                                
                                

                                Which is why I prepended ssh:// and tried a few other things.

                                With "git clone ssh://git@git.pfsense.org/pfsense-tools", I get:

                                
                                fatal: '/pfsense-tools' does not appear to be a git repository
                                fatal: Could not read from remote repository.
                                
                                Please make sure you have the correct access rights
                                and the repository exists.
                                
                                
                                1 Reply Last reply Reply Quote 0
                                • R
                                  razzfazz
                                  last edited by

                                  @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.

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