feat: make key authentication failures diagnosable #2
Loading…
Reference in a new issue
No description provided.
Delete branch "butterrobot/diagnose-key-auth-failures"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
A rejected key currently produces two generic 'Permission denied, please try again.' prompts and a denial listing every auth method — identical output whether the key input was malformed or just not authorized on the target. Validates the key with ssh-keygen before connecting (unusable input now fails immediately with the reason) and prints the derived public key, which is the exact line that must be in authorized_keys. Adds BatchMode=yes to stop the password fallback and IdentitiesOnly=yes so only the supplied key is offered. Follow-up to #1, from debugging fmartingr/fmartingr.com (FMG-7).
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.