using PuttyGen key for pushing to Git
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
Laurent Dalbies
il 15 Nov 2018
Risposto: Laurent Dalbies
il 12 Dic 2018
Hello,
I'm using Simulink project linked with a Git repository on a remote server. I have generated a pair of ssh key with PuttyGen (format SSH2-RSA). The public key is declared in my remote server and the private key is on my Pc %USER_PROFILE%/.ssh. I can push/pull with Tortoise Git => my config is OK. If I want to push with Matlab instead ("push" button of the Source Control section of the SIMULINK PROJECT tab), i'm requested to enter a password which, btw, I don't know (tried my company SSO password, not valid).
But, if I generate a new pair of keys with GitBash (openSSH SSH-2 format) instead of PuttyGen, I declare this new public key on my remote server and save the private key on my .ssh folder, then it's ok I can push with Matlab.
Are there any limitations using keys generated with PuttyGen ?
Regards
Laurent
1 Commento
Andrew Willaim
il 7 Dic 2018
Hi Laurant,
I was facing the same issue while using the Git on a remote server.
Finally, a guide on puttygen.com worked for me to generate the keys and luckily it has no limitations as well.
Risposta accettata
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Project Management in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!