MATLAB GIT with DevOps

12 次查看(过去 30 天)
Lahcen Mannou
Lahcen Mannou 2020-1-27
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

回答(1 个)

Irene Boben
Irene Boben 2020-1-30
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:

类别

Help CenterFile Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by