Uploaded image for project: 'Qt Quality Assurance Infrastructure'
  1. Qt Quality Assurance Infrastructure
  2. QTQAINFRA-5398

qtrepotools without ~/.ssh/config

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Fixed
    • P4: Low
    • None
    • None
    • Git
    • None
    • Ubuntu 22 X86_64

    • 5ff4c5c41 (master)

    Description

      I use qtrepotools After my steps I see "Welcome to Gerrit Code Review". Looks like my ssh connection works ok. After I want

      qtdoc$ git gpush --branch dev ..
      Notice: HEAD has no upstream remote; defaulting to origin.
      ssh: connect to host codereview.qt-project.org port 22: Connection timed out

      There is GIT_SSH_COMMAND variable. Let's test it.

      echo $GIT_SSH_COMMAND
      ssh -v -i /home/myrealpathhidden -p 29418

      Looks like git gpush don't use GIT_SSH_COMMAND.

      But git gpush  use /.ssh/config file to parse. For example this is my /.ssh/config        

      Host codereview.qt-project.org
          Port 29418
          # To avoid no mutual signature algorithm errors
          # Use your Gerrit username, not email or your username on your own machine.
          # You can view this from Settings in gerrit when logged in.
          User myrealnamehidden
          PreferredAuthentications publickey
          IdentityFile /home/myrealpathhidden

      qtrepotools wants user to configure operating system file. Because of this it is hard to contribute to Qt.

      1) I suggest allow git gpush to use GIT_SSH_COMMAND

      2) I suggest allow pass User name into git gpush via console.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            buddenha Oswald Buddenhagen
            dungeonlords Andrei Cherniaev
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes