Why does SSH authentication with Git not work?
19 次查看(过去 30 天)
显示 更早的评论
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
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 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Source Control 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!