Why does SSH authentication with Git not work?

20 visualizaciones (últimos 30 días)
Even after setting up the SSH key authentication with Git following the instructions outlined in https://www.mathworks.com/help/matlab/matlab_prog/set-up-git-source-control.html
MATLAB still asks for username and password every time when trying to push into a remote repository.

Respuesta aceptada

MathWorks Support Team
MathWorks Support Team el 11 de Sept. de 2020
One possible cause for the issue could be the improper cloning of the repository. In order to setup SSH authentication with Git, clone the repository using SSH and not HTTPS.
Another cause for the issue could be the improper format in which the SSH key has been generated. For more details, refer to the following MATLAB Answers post: 

Más respuestas (0)

Categorías

Más información sobre Source Control en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by