Why does SSH authentication with Git not work?

조회 수: 19 (최근 30일)
MathWorks Support Team
MathWorks Support Team 2020년 9월 11일
답변: MathWorks Support Team 2021년 1월 29일
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.

채택된 답변

MathWorks Support Team
MathWorks Support Team 2020년 9월 11일
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: 

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Source Control에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by