MATLAB GIT with DevOps

11 views (last 30 days)
Lahcen Mannou
Lahcen Mannou on 27 Jan 2020
Answered: Irene Boben on 30 Jan 2020
I am trying to configure GIT for MATLAB with Azure DevOps.
It works fine, except that the MATLAB client keeps asking for username/password every time I try to PULL or FETCH.
I tried with both HTTPS and SSH, with the same result.
Is there a way to avoid having to input the credentials every time ?
Thank you

Answers (1)

Irene Boben
Irene Boben on 30 Jan 2020
For SSH:
The password dialog will be shown if public key authentication failed but additional authentication methods are available on the server. One possible reason for this public-key authentication failure is MATLAB finding ~/.ssh/id_rsa or ~/.ssh/id_dsa or ~/.ssh/identity file(s) and attempting to authenticate over SSH with them, but none of these files contained a key which MATLAB was able to work with. This may for example occur if your ~.ssh/id_rsa key is in OpenSSH format instead of the RSA format.
You can find a detailed way to proceed in the following link:

Categories

Find more on Source Control Integration in Help Center and File Exchange

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!