git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [Question] : git 2.33.1 asks every time password

From
EEErik Cervin Edin <erik@cervined.in>
Date
Dec 31, 2021, 13:04 UTC
Message-ID
<CA+JQ7M8U7Ocsk0JO=GmMyf5S6CnodTYjG=zAHGL4Bco8cfVBHw@mail.gmail.com>
In-Reply-To
<CA+JQ7M8iqaeG-FOFfunz1trR=Z6seFEjYLjrmBcCXHDTqNx42Q@mail.gmail.com>
> > > > I had to create a 'config' file within '.ssh' directory to support my
> > > > rsa key (too old format ?). Instructions according to
> > > > https://stackoverflow.com/questions/35233777/git-error-unable-to-negotiate-with-xx-xx-xxx-xxx-no-matching-host-key-type-fo
But perhaps I misunderstood.

If your question is why authentication is falling back to username/password See my answer at SO https://stackoverflow.com/a/70434510 for a similar issue with Git/AzureDevOps server.

TLDR: Git for Windows 2.3something updated OpenSSH to 8.something This changed default behavior of which SSH encryption algorithms deemed cryptographically safe. Not all services allow more sophisticated keys, in which case you may override to OpenSSH defaults

Previous: Erik Cervin Edin
Message 5 of 5 in “[Question] : git 2.33.1 asks every time password”
  1. Jean-Louis FLOQUETDec 30, 2021
  2. brian m. carlsonDec 30, 2021
  3. Jean-Louis FLOQUETDec 31, 2021
  4. Erik Cervin EdinDec 31, 2021
  5. Erik Cervin EdinDec 31, 2021

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.