TripleA Logo TripleA Forum
    • TripleA Website
    • Categories
    • Recent
    • Popular
    • Users
    • Groups
    • Tags
    • Register
    • Login

    Git Token Question

    Scheduled Pinned Locked Moved Player Help
    24 Posts 3 Posters 5.1k Views 3 Watching
    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.
    • LaFayetteL Offline
      LaFayette Admin @beelee
      last edited by

      @beelee An SSH token serves in place of a password and avoids having to type in a password. The token is usually a private/public key combination where the public key you register with the remote entity (eg: github) and the private key goes to a special folder on your computer.

      There are also API tokens which I think expire. You should not need an API token @beelee , those are typically to allow for automated tasks between some program and github (like creating issues for example).

      1 Reply Last reply Reply Quote 1
      • B Offline
        beelee
        last edited by

        Hmm...several hours later and I'm continuing to struggle. I went through the steps and said my SSH should be in my home folder but can't find it. i searched SSH and git but no joy.
        It also asks me for a pw when i try to add something and then doesn't work. Not a big surprise there.

        @wc_sumpton do you have one ? I guess I need a more simplified way that explains it.

        i'll try agin later. need to take a break. i hate being stupid lol

        LaFayetteL 1 Reply Last reply Reply Quote 0
        • LaFayetteL Offline
          LaFayette Admin @beelee
          last edited by

          @beelee Which git client are you using? Usually SSH tokens are in '<home_folder>/.ssh' (note the '.' in front of ssh)

          1 Reply Last reply Reply Quote 0
          • B Offline
            beelee
            last edited by

            @RogerCooper have you got a new ssh token/key for git ? I saw you added a new game is why I ask. If so, would you provide a step by step process on how you did it ?

            or anyone ? @TheDog Do you have one ? anybody ?

            I have over 20 man hours and brought in a buddy with 50 years programing experience and we just spent 6 hours on it and can't get it to work.

            Maybe this is by design. I can guarantee there won't be many triplea users using git if it's this difficult.

            Thanks

            TheDogT 1 Reply Last reply Reply Quote 0
            • TheDogT Online
              TheDog @beelee
              last edited by TheDog

              Short answer no.

              I tried to upload one of my maps to Git and failed, the instruction from Frostion were out of date and did not match what I saw on screen. I gave up.

              Thats why I host on Google drive, its so simple in comparison.

              I too would like an update on the instructions on how to upload a map and also how to amend it when I need too.

              https://forums.triplea-game.org/tags/thedog
              https://forums.triplea-game.org/topic/3741/curated-best-top-maps-triplea-guides

              B 1 Reply Last reply Reply Quote 1
              • B Offline
                beelee @TheDog
                last edited by beelee

                @thedog thanks for the reply. We're gonna start from scratch and try again.

                If I can figure it out I will post the steps. Very frustrating. I think it is deliberately designed to make it hard for people that don't have computer science degrees.

                W/e I will figure it out. Would be nice to be doing other things.

                TheDogT 1 Reply Last reply Reply Quote 0
                • TheDogT Online
                  TheDog @beelee
                  last edited by

                  @beelee
                  Should of left your post with the Political science degree as that made me laugh.

                  https://forums.triplea-game.org/tags/thedog
                  https://forums.triplea-game.org/topic/3741/curated-best-top-maps-triplea-guides

                  B 1 Reply Last reply Reply Quote 1
                  • B Offline
                    beelee @TheDog
                    last edited by

                    @thedog heh heh sorry was hoping that one slipped by 🙂

                    I love everybody unless they f with me

                    Sorry about the first one

                    1 Reply Last reply Reply Quote 0
                    • B Offline
                      beelee
                      last edited by

                      so i have a new ssh , I blew up the old ones (there were 2 ) It says I have them. I found the hidden ones that I obliterated. So new one now.

                      When I switch to "SSH" it says I don't have any public SSH keys in my git hub account.

                      So I have an SSH key but can't make it "Public" I guess ? Idk

                      That's where I'm stuck

                      B 1 Reply Last reply Reply Quote 0
                      • B Offline
                        beelee @beelee
                        last edited by beelee

                        @beelee

                        Screenshot from 2021-08-30 17-31-06.png

                        so HTTPS brings up PW. SSH I have but is not public I think is the problem.

                        ?

                        TheDogT 1 Reply Last reply Reply Quote 0
                        • TheDogT Online
                          TheDog @beelee
                          last edited by

                          It's just a jump to the left
                          And then a step to the right

                          Its a time warp, your going nowhere....

                          yet...

                          https://forums.triplea-game.org/tags/thedog
                          https://forums.triplea-game.org/topic/3741/curated-best-top-maps-triplea-guides

                          B 1 Reply Last reply Reply Quote 1
                          • B Offline
                            beelee @TheDog
                            last edited by beelee

                            @thedog

                            sounds like dancing with my cousins when i was kid 🙂

                            Mom up now. Gotta tend to her. Probably be a while till I can try again

                            We'll make it work. Any help is appreciated though 🙂

                            1 Reply Last reply Reply Quote 0
                            • LaFayetteL Offline
                              LaFayette Admin
                              last edited by

                              SSH keys are an example of public/private key cryptography. On your computer you generate a private key and a public key. You then give the public key to anyone that wants to authenticate messages from you. You can then encrypt messages using your private key and when someone else uses your public key to decode it, it works. In essence, the only way to read messages encrypted with a given private key is by using the public key, and by reading the encrypted message the private key also cannot be derived.

                              So, you should have a public and private key generated on your machine somewhere. You then need to upload the public key, here is the link: https://github.com/settings/ssh/new

                              Find your public key on your computer, copy/paste the whole thing (be sure it is your public key and not private), go to the link above, and paste it in.

                              B 1 Reply Last reply Reply Quote 1
                              • LaFayetteL Offline
                                LaFayette Admin
                                last edited by LaFayette

                                @TheDog , there are several ways to upload files into github. The easiest is simply using the web-ui and doing drag-and-drop. AFAIK google drive requires you to log in, and drag and drop files to upload. Same thing in github.com, you log in, then drag and drop files.
                                (the only difference is the map file should not be compressed (should not be zipped) so that it can be distributed automatically)

                                edit, you need to create a repository to host your map first, so you need to:

                                • login
                                • create repository (use this link: https://github.com/new)
                                • drag and drop files to upload
                                1 Reply Last reply Reply Quote 0
                                • B Offline
                                  beelee @LaFayette
                                  last edited by beelee

                                  @lafayette sadly I continue to struggle. I found the private and public keys. Private is on left and public is on right.

                                  Screenshot from 2021-09-03 16-56-57.png

                                  I open public and copy then paste to the above link where it says Title

                                  Screenshot from 2021-09-03 17-01-36.png

                                  and then i get this

                                  Screenshot from 2021-09-03 16-55-54.png

                                  Edit
                                  ok just typed in a title and then pasted into the next box. That created some new results. We'll see if it works

                                  B 1 Reply Last reply Reply Quote 0
                                  • B Offline
                                    beelee @beelee
                                    last edited by

                                    @beelee ok looks as if we may have success

                                    Screenshot from 2021-09-03 17-09-49.png

                                    I'll try an update a repo next.

                                    1 Reply Last reply Reply Quote 1
                                    • B Offline
                                      beelee
                                      last edited by

                                      OK that minor nightmare is over and we're back in action. I'll post a step by step process of how I did it a bit later for any that are interested.

                                      TheDogT LaFayetteL 2 Replies Last reply Reply Quote 2
                                      • TheDogT Online
                                        TheDog @beelee
                                        last edited by

                                        Your perseverance has paid off, well done!!!

                                        Im interested in the document.

                                        https://forums.triplea-game.org/tags/thedog
                                        https://forums.triplea-game.org/topic/3741/curated-best-top-maps-triplea-guides

                                        1 Reply Last reply Reply Quote 1
                                        • LaFayetteL Offline
                                          LaFayette Admin @beelee
                                          last edited by

                                          @beelee Please check for any good online tutorials before writing one. It's better to reference a well written tutorial than to write and maintain our own.

                                          B 1 Reply Last reply Reply Quote 0
                                          • B Offline
                                            beelee @LaFayette
                                            last edited by

                                            @lafayette believe me I did.

                                            LaFayetteL 1 Reply Last reply Reply Quote 0

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better 💗

                                            Register Login
                                            • 1
                                            • 2
                                            • 1 / 2
                                            • First post
                                              Last post
                                            Copyright © 2016-2018 TripleA-Devs | Powered by NodeBB Forums