DevOps Automation

 View Only
Expand all | Collapse all

Can RAD 9.7.0.3 connect to remote git repositories with SSH?

  • 1.  Can RAD 9.7.0.3 connect to remote git repositories with SSH?

    Posted Wed September 30, 2020 01:48 PM

    I have private/public ssh keys for remote git repositories that work as expected in Eclipse IDE for C/C++ V2019-09 to clone a remote git repository and to push updates to the remote repository. In RAD 9.7.0.3, accessing a remote git repository give 'auth fail' error message. Various changes to git configuration files did not resolve the problem. Does RAD 9.7.0.3 even support SSH to remote git repositories? If not, is there an alternative connection configuration that will work?


    #RationalApplicationDeveloper(RAD)
    #Support
    #SupportMigration


  • 2.  RE: Can RAD 9.7.0.3 connect to remote git repositories with SSH?

    Posted Wed September 30, 2020 09:15 PM

    Resolved this on my own by creating a new public/private using the voted-correct answer here and using RAD instead of Eclipse: https://stackoverflow.com/questions/3601805/auth-failed-error-with-egit-and-github

    Then add a config file to .ssh directory with the following properties:

    Host github.xxx.com

    HostName github.xxx.com

    IdentityFile C:\xxx\xxxxxxx\.ssh\id_rsa_xxxx (your private key name)

    User git

    PreferredAuthentications publickey

    PasswordAuthentication no

    IdentitiesOnly=yes

    Steps for connecting to remote git repositories through RAD could be documented better in the RAD documentation.


    #Support
    #RationalApplicationDeveloper(RAD)
    #SupportMigration