Navigation

    TripleA Logo

    TripleA Forum

    • Register
    • Login
    • Search
    • TripleA Website
    • Categories
    • Recent
    • Popular
    • Users
    • Groups
    • Tags

    Git Token Question

    Player Help
    3
    24
    2196
    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.
    • B
      beelee last edited by beelee

      Just did the token thing for git. It said not to go indefinitely so did 90 days as idk how this all works. Tried to do something at git but think it's still using my pw. I guess I should log out and try lol.

      Anyway, u just type in your "token" instead of "pw". It's basically all the same ?

      Edit
      Hmm well it just auto'd to my pw. I guess I shoulda just done indefinite. W/e will find out tommorrow lol

      LaFayette 1 Reply Last reply Reply Quote 1
      • LaFayette
        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
          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

          LaFayette 1 Reply Last reply Reply Quote 0
          • LaFayette
            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
              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

              TheDog 1 Reply Last reply Reply Quote 0
              • TheDog
                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.

                B 1 Reply Last reply Reply Quote 1
                • B
                  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.

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

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

                    B 1 Reply Last reply Reply Quote 1
                    • B
                      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
                        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
                          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.

                          ?

                          TheDog 1 Reply Last reply Reply Quote 0
                          • TheDog
                            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...

                            B 1 Reply Last reply Reply Quote 1
                            • B
                              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
                              • LaFayette
                                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
                                • LaFayette
                                  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
                                    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
                                      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
                                        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.

                                        TheDog LaFayette 2 Replies Last reply Reply Quote 2
                                        • TheDog
                                          TheDog @beelee last edited by

                                          Your perseverance has paid off, well done!!!

                                          Im interested in the document.

                                          1 Reply Last reply Reply Quote 1
                                          • LaFayette
                                            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
                                            • 1
                                            • 2
                                            • 1 / 2
                                            • First post
                                              Last post
                                            Copyright © 2016-2018 TripleA-Devs | Powered by NodeBB Forums