Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-29616

[Reg 10.x -> 11.0.2?] Invalid rsync command generated when using custom SSH port

    XMLWordPrintable

Details

    • Linux/X11
    • af558a431 (12.0)

    Description

      Using the environment variable QT_LOGGING_RULES="qtc.utils.process=true;" we see that Qt Creator runs rsync like this and it fails:

      qtc.utils.process: Process 12 starting (non blocking): rsync -e '/usr/bin/ssh -o StrictHostKeyChecking=no -o Port=2222 -o User=root -o IdentitiesOnly=yes -i /home/USER/.ssh/id_rsa -o BatchMode=yes -o ConnectTimeout=10 -o ControlPath=/tmp/QtCreator-rXKOFS/cs' -av /PATH/TO/BUILD/DIR/myapp root@192.168.50.100:2222:/opt/MYAPP/myapp
      

       

      Apparently, adding the port number to the final argument does not work (root@192.168.50.100:2222:/opt/MYAPP/myapp in the example above). See https://stackoverflow.com/questions/4549945/is-it-possible-to-specify-a-different-ssh-port-when-using-rsync for solutions.

       

      (Note: The customer reports that there were no issues on an older version of Qt Creator, possibly 10.x)

      Attachments

        For Gerrit Dashboard: QTCREATORBUG-29616
        # Subject Branch Project Status CR V

        Activity

          People

            hjk hjk
            skoh-qt Sze Howe Koh
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes