Updating the Git protocol for SHA-256
Updating the Git protocol for SHA-256
Posted Jun 25, 2020 9:09 UTC (Thu) by grawity (subscriber, #80596)In reply to: Updating the Git protocol for SHA-256 by niner
Parent article: Updating the Git protocol for SHA-256
Well, if the password is actually empty, at least OpenSSH will outright let you skip password-based authentication – no password prompts to be shown. I have seen actual Git and Hg servers which use this (if I remember correctly, the OpenSolaris Hg repository used to be served exactly this way).
Sure you could argue that you still need a known username, but that can be simply included in the git+ssh:// URL (like people already do with git@github.com
).
(Still, even if you had to press Enter at a blank password prompt, that's how CVS pserver used to work and everyone accepted it as "anonymous access" all the same.)