Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Connect to git
Forum Updated to NodeBB v4.3 + New Features

Connect to git

Scheduled Pinned Locked Moved Solved General and Desktop
30 Posts 7 Posters 3.1k Views 2 Watching
  • 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.
  • M Mikeeeeee

    I doing this:

      git remote add "Mihail_Sermiagko" "https://bitbucket.org/Mihail_Sermiagko/testmd5/src"
    
    

    and

    git push --set-upstream testMd5 master
    

    But i get error:

    The authenticity of host 'bitbucket.org (18.234.32.157)' can't be established.
    RSA key fingerprint is SHA256:zzXQOXSRBEiUtuE8AikJYKwbHaxvSc0ojez9YXaGp1A.
    Are you sure you want to continue connecting (yes/no/[fingerprint])? y
    Please type 'yes', 'no' or the fingerprint: yes
    Warning: Permanently added 'bitbucket.org,18.234.32.157' (RSA) to the list of known hosts.
    git@bitbucket.org: Permission denied (publickey).
    fatal: Could not read from remote repository.
    
    Please make sure you have the correct access rights
    and the repository exists.
    

    Whot now me need doing?
    How do I specify the account key?

    jsulmJ Offline
    jsulmJ Offline
    jsulm
    Lifetime Qt Champion
    wrote on last edited by
    #13

    @Mikeeeeee Isn this your repository URL:

    https://bitbucket.org/Mihail_Sermiagko/testmd5
    

    ?
    Also, you probably need to set-up SSH public key authentication in your Bitbucket account.

    https://forum.qt.io/topic/113070/qt-code-of-conduct

    1 Reply Last reply
    0
    • M Mikeeeeee

      I doing this:

        git remote add "Mihail_Sermiagko" "https://bitbucket.org/Mihail_Sermiagko/testmd5/src"
      
      

      and

      git push --set-upstream testMd5 master
      

      But i get error:

      The authenticity of host 'bitbucket.org (18.234.32.157)' can't be established.
      RSA key fingerprint is SHA256:zzXQOXSRBEiUtuE8AikJYKwbHaxvSc0ojez9YXaGp1A.
      Are you sure you want to continue connecting (yes/no/[fingerprint])? y
      Please type 'yes', 'no' or the fingerprint: yes
      Warning: Permanently added 'bitbucket.org,18.234.32.157' (RSA) to the list of known hosts.
      git@bitbucket.org: Permission denied (publickey).
      fatal: Could not read from remote repository.
      
      Please make sure you have the correct access rights
      and the repository exists.
      

      Whot now me need doing?
      How do I specify the account key?

      JonBJ Online
      JonBJ Online
      JonB
      wrote on last edited by
      #14

      @Mikeeeeee said in Connect to git:

      Please make sure you have the correct access rights
      and the repository exists.

      How did you come up with the URL? Where did it say it is publicly available to you?

      @jsulm
      I showed earlier that URL gives a "permission denied" error for me. I do have a bitbucket account, and I do have SSH public key for BB for my account.

      jsulmJ 1 Reply Last reply
      0
      • JonBJ JonB

        @Mikeeeeee said in Connect to git:

        Please make sure you have the correct access rights
        and the repository exists.

        How did you come up with the URL? Where did it say it is publicly available to you?

        @jsulm
        I showed earlier that URL gives a "permission denied" error for me. I do have a bitbucket account, and I do have SSH public key for BB for my account.

        jsulmJ Offline
        jsulmJ Offline
        jsulm
        Lifetime Qt Champion
        wrote on last edited by jsulm
        #15

        @JonB I can access https://bitbucket.org/Mihail_Sermiagko/testmd5, but of course it asks for authentication. But I don't have a Bitbucket account to verify this is actually an existing project.

        https://forum.qt.io/topic/113070/qt-code-of-conduct

        JonBJ 1 Reply Last reply
        0
        • jsulmJ jsulm

          @JonB I can access https://bitbucket.org/Mihail_Sermiagko/testmd5, but of course it asks for authentication. But I don't have a Bitbucket account to verify this is actually an existing project.

          JonBJ Online
          JonBJ Online
          JonB
          wrote on last edited by JonB
          #16

          @jsulm
          Hmm, isn't that strange!? How in the world can you be allowed to access that page if I am not, I don't get it!!?? I'd like to know the answer if you have any idea?

          Ah ha, I wonder if you do not! With no account it just asks you for authentication, and goes no further. I do have an account, and I have SSH enabled, so I do get past the initial challenge, and even with that I then get the failure. From which I conclude it is a private repo, which will require a particular authentication.

          We can't let you see this page

          To access this page, you may need to log in with another account. You can also return to the previous page or go back to your dashboard.

          EDIT Further, I can access just https://bitbucket.org/Mihail_Sermiagko/. I can get as far as https://bitbucket.org/Mihail_Sermiagko/workspace/projects/. There is some testMd5 there, it has a Key of TES whatever that means, that takes me to https://bitbucket.org/Mihail_Sermiagko/workspace/projects/TES, but seems to be empty.

          Is the OP using some URL for a project which no longer exists? I asked him where he got the URL from, but he often does not reply to suggestions. Over & out.

          jsulmJ 1 Reply Last reply
          0
          • JonBJ JonB

            @jsulm
            Hmm, isn't that strange!? How in the world can you be allowed to access that page if I am not, I don't get it!!?? I'd like to know the answer if you have any idea?

            Ah ha, I wonder if you do not! With no account it just asks you for authentication, and goes no further. I do have an account, and I have SSH enabled, so I do get past the initial challenge, and even with that I then get the failure. From which I conclude it is a private repo, which will require a particular authentication.

            We can't let you see this page

            To access this page, you may need to log in with another account. You can also return to the previous page or go back to your dashboard.

            EDIT Further, I can access just https://bitbucket.org/Mihail_Sermiagko/. I can get as far as https://bitbucket.org/Mihail_Sermiagko/workspace/projects/. There is some testMd5 there, it has a Key of TES whatever that means, that takes me to https://bitbucket.org/Mihail_Sermiagko/workspace/projects/TES, but seems to be empty.

            Is the OP using some URL for a project which no longer exists? I asked him where he got the URL from, but he often does not reply to suggestions. Over & out.

            jsulmJ Offline
            jsulmJ Offline
            jsulm
            Lifetime Qt Champion
            wrote on last edited by
            #17

            @JonB I don't have any idea. And as I wrote: I can't verify whether this URL is actually pointing to an existing project as I'm asked for log-in (but I don't have an account).

            https://forum.qt.io/topic/113070/qt-code-of-conduct

            1 Reply Last reply
            0
            • M Offline
              M Offline
              Mikeeeeee
              wrote on last edited by
              #18

              It is url this page https://bitbucket.org/Mihail_Sermiagko/testmd5/src
              Do I need to show any more data?
              1.png

              jsulmJ 1 Reply Last reply
              0
              • M Mikeeeeee

                It is url this page https://bitbucket.org/Mihail_Sermiagko/testmd5/src
                Do I need to show any more data?
                1.png

                jsulmJ Offline
                jsulmJ Offline
                jsulm
                Lifetime Qt Champion
                wrote on last edited by
                #19

                @Mikeeeeee So, do the step 2.

                https://forum.qt.io/topic/113070/qt-code-of-conduct

                1 Reply Last reply
                0
                • M Offline
                  M Offline
                  Mikeeeeee
                  wrote on last edited by
                  #20
                  This post is deleted!
                  jsulmJ 1 Reply Last reply
                  0
                  • M Mikeeeeee

                    This post is deleted!

                    jsulmJ Offline
                    jsulmJ Offline
                    jsulm
                    Lifetime Qt Champion
                    wrote on last edited by
                    #21

                    @Mikeeeeee Please do step 2 - there is the correct URL...

                    https://forum.qt.io/topic/113070/qt-code-of-conduct

                    1 Reply Last reply
                    0
                    • M Offline
                      M Offline
                      Mikeeeeee
                      wrote on last edited by
                      #22

                      I do 2 step and after in Qt I try push on git, but I get this errors:

                      git@bitbucket.org: Permission denied (publickey).
                      fatal: Could not read from remote repository.
                      
                      Please make sure you have the correct access rights
                      and the repository exists.
                      Команда «E:\Programs\Git\cmd\git.exe push --set-upstream origin master» завершилась с кодом 128.
                      
                      1 Reply Last reply
                      0
                      • M Offline
                        M Offline
                        Mikeeeeee
                        wrote on last edited by
                        #23

                        Do I need to specify a password?

                        jsulmJ 1 Reply Last reply
                        0
                        • M Mikeeeeee

                          Do I need to specify a password?

                          jsulmJ Offline
                          jsulmJ Offline
                          jsulm
                          Lifetime Qt Champion
                          wrote on last edited by
                          #24

                          @Mikeeeeee As I mentioned above you probably need to set-up SSH public key or use password. Without authentication everyone would be able to push to your project :-) Please take time to read Bitbucket documentation.

                          https://forum.qt.io/topic/113070/qt-code-of-conduct

                          1 Reply Last reply
                          0
                          • M Offline
                            M Offline
                            Mikeeeeee
                            wrote on last edited by
                            #25

                            I can't find a password in the documentation. Do you know how to enter password?

                            Christian EhrlicherC 1 Reply Last reply
                            0
                            • M Mikeeeeee

                              I can't find a password in the documentation. Do you know how to enter password?

                              Christian EhrlicherC Offline
                              Christian EhrlicherC Offline
                              Christian Ehrlicher
                              Lifetime Qt Champion
                              wrote on last edited by
                              #26

                              @Mikeeeeee said in Connect to git:

                              I can't find a password in the documentation

                              It's a secret but I will tell you: 'kd!hoiwzp934hzrfowebfz8?o43b'

                              Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
                              Visit the Qt Academy at https://academy.qt.io/catalog

                              1 Reply Last reply
                              2
                              • M Offline
                                M Offline
                                Mikeeeeee
                                wrote on last edited by
                                #27

                                need to do

                                ssh-keygen
                                

                                and key from id_rsa.pub copy to bitbucket

                                JonBJ 1 Reply Last reply
                                0
                                • M Mikeeeeee

                                  need to do

                                  ssh-keygen
                                  

                                  and key from id_rsa.pub copy to bitbucket

                                  JonBJ Online
                                  JonBJ Online
                                  JonB
                                  wrote on last edited by
                                  #28

                                  @Mikeeeeee
                                  Hmm, I wonder then why this does not work for me, I am intrigued....

                                  B 1 Reply Last reply
                                  0
                                  • JonBJ JonB

                                    @Mikeeeeee
                                    Hmm, I wonder then why this does not work for me, I am intrigued....

                                    B Offline
                                    B Offline
                                    Bonnie
                                    wrote on last edited by
                                    #29

                                    @JonB Isn't this his private repo?

                                    JonBJ 1 Reply Last reply
                                    0
                                    • B Bonnie

                                      @JonB Isn't this his private repo?

                                      JonBJ Online
                                      JonBJ Online
                                      JonB
                                      wrote on last edited by JonB
                                      #30

                                      @Bonnie
                                      OMG! Are you saying @Mikeeeeee == Mihail_Sermiagko ???!!!!

                                      Why in the world did he not bother to say so, when I was trying to help about "permission denied" and he was asking the question? I thought it was an attempt to access someone else's repo (to fetch some code source)........ If I had understood that I could have said about ssh-keygen from the start. Sigh!

                                      1 Reply Last reply
                                      0

                                      • Login

                                      • Login or register to search.
                                      • First post
                                        Last post
                                      0
                                      • Categories
                                      • Recent
                                      • Tags
                                      • Popular
                                      • Users
                                      • Groups
                                      • Search
                                      • Get Qt Extensions
                                      • Unsolved