<div dir="ltr"><div>Hi</div><div><br></div><div>I am trying to import a repo in Gitlab. I just created the repo using the web interface (CL-PLOT).</div><div>This is what the instructions on the site say.<br><br></div><div>
<pre class="gmail-bg-light">cd existing_repo
git remote rename origin old-origin
git remote add origin <span class="gmail-js-clone">git@common-lisp.net:mantoniotti/cl-plot.git</span>
<span>git push -u origin --all
git push -u origin --tags</span></pre>
</div><div><br></div><div>Once I try<span style="font-family:monospace"> git push</span> I get the dreaded message.</div><div><br></div><div><span style="font-family:monospace">$ git push -u origin --all<br><a href="mailto:git@common-lisp.net">git@common-lisp.net</a>: Permission denied (publickey).<br>fatal: Could not read from remote repository.<br><br>Please make sure you have the correct access rights<br>and the repository exists.</span><br></div><div><br></div><div>Why? I.e., why doesn't git understand the 2FA I set up a long time ago? Why I cannot get my SSH keys to work? How can I change the remote spec in order not to have to go through this every other month?</div><div><br></div><div>Thank you</div><div><br></div><div>All the best</div><div><br></div><div>Marco<br></div><div><br><br></div><div><br>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Marco Antoniotti, Professor tel. +39 - 02 64 48 79 01<br>DISCo, Università Milano Bicocca U14 2043 <a href="http://dcb.disco.unimib.it" target="_blank">http://dcb.disco.unimib.it</a><br>Viale Sarca 336<br>I-20126 Milan (MI) ITALY</div></div></div></div>