Unable to "Import From GIT" in MCUxpresso - "Login not authorized"

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Unable to "Import From GIT" in MCUxpresso - "Login not authorized"

跳至解决方案
3,366 次查看
BetoGreen
Contributor III

I am having problems with Git  login when  Importing Projects from GIT , any help appreciated.

It worked 6 months ago with v11.2.. and for a year before that....

I can login fine with firefox and download my project.

What I tried:

>Updated Mcuxpresso to Win7 - MCUXpresso IDE v11.4.1 [Build 6260] [2021-09-15])

>Updated egit as per https://download.eclipse.org/egit/updates/

>cleared security in mcuxpresso

Preference > General > Security > Secure Storage > Contents > Delete.

> Opened all ports in my router

 

 Any help appreciated. Error log attached.

0 项奖励
回复
1 解答
3,350 次查看
BetoGreen
Contributor III

Yep it was SSH.

I needed to create an SSH RSA key in mcux

Window/Preferences/General/Network Preferences/SSH2/Key Managment/Generate RSA Key.   then save it with passphrase.

then add the ssh key to my github account.https://docs.github.com/en/authentication/connecting-to-github-with-ssh/adding-a-new-ssh-key-to-your...

Then copy git clone ssh folder git@github.com: myfolder  back into mcuxpresso when importing projects

 

Cost me 1/2 a day so I hope it helps.

在原帖中查看解决方案

0 项奖励
回复
2 回复数
3,351 次查看
BetoGreen
Contributor III

Yep it was SSH.

I needed to create an SSH RSA key in mcux

Window/Preferences/General/Network Preferences/SSH2/Key Managment/Generate RSA Key.   then save it with passphrase.

then add the ssh key to my github account.https://docs.github.com/en/authentication/connecting-to-github-with-ssh/adding-a-new-ssh-key-to-your...

Then copy git clone ssh folder git@github.com: myfolder  back into mcuxpresso when importing projects

 

Cost me 1/2 a day so I hope it helps.

0 项奖励
回复
3,363 次查看
ErichStyger
Specialist I

You are using https, and I believe github stopped using that? Have you tried it with an ssh connection?

0 项奖励
回复