- Notifications
You must be signed in to change notification settings - Fork928
feat: Improve experience with local SSH keys#3835
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
TIL ssh -g
cli/gitssh.go Outdated
"identityfile ~/.ssh/id_xmss", | ||
}, "\n") | ||
// praseIdentityFilesForHost uses ssh -G to discern what SSH keys have |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
//praseIdentityFilesForHost uses ssh -G to discern what SSH keys have | |
//parseIdentityFilesForHost uses ssh -G to discern what SSH keys have |
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
This change means that users can place SSH keys in the default locationsfor OpenSSH, like `~/.ssh/id_rsa` and it will be automatically pickedup (as per a default OpenSSH experience).Fixes#3126
Co-authored-by: Dean Sheather <dean@deansheather.com>
3ef314f
to0d413fb
Compare
Uh oh!
There was an error while loading.Please reload this page.
This change means that users can place SSH keys in the default locations for OpenSSH, like
~/.ssh/id_rsa
and it will be automatically picked up (as per a default OpenSSH experience).Fixes#3126
Notes:
-test.homedir
flag to test the SSH fallback key locations, however, settingHOME=/tmp/
seems to have no effect on where OpenSSH looks for the config :(