You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[feature-request]: gh auth login flag that adds ssh keys to github without prompting user #11831
Describe the feature or problem you’d like to solve
It'd be nice to add a flag to the cli that add the SSH keys to github, something like upload-ssh-keys. This should remove the need for this user interaction:
$ gh auth login
...
? Upload your SSH public key to your GitHub account? [Use arrows to move, type to filter]
> /Users/luccab/.ssh/id_ed25519.pub
Skip
Thank you for your issue! We have categorized it as a feature request, and it has been added to our backlog. In doing so, we are not committing to implementing this feature at this time, but, we will consider it for future releases based on community feedback and our own product roadmap.
Unless you see the
help wantedContributions welcome
label, we are not currently looking for external contributions for this feature.
If you come across this issue and would like to see it implemented, please add a thumbs up! This will help us prioritize the feature. Please only comment if you have additional information or viewpoints to contribute.
changed the title [-][feature-request]: `gh auth login` flag that adds ssh keys without prompting user[/-][+][feature-request]: `gh auth login` flag that adds ssh keys to github without prompting user[/+]on Sep 29, 2025
Activity
github-actions commentedon Sep 29, 2025
Thank you for your issue! We have categorized it as a feature request, and it has been added to our backlog. In doing so, we are not committing to implementing this feature at this time, but, we will consider it for future releases based on community feedback and our own product roadmap.
Unless you see the help wantedContributions welcome
label, we are not currently looking for external contributions for this feature.
If you come across this issue and would like to see it implemented, please add a thumbs up! This will help us prioritize the feature. Please only comment if you have additional information or viewpoints to contribute.
[-][feature-request]: `gh auth login` flag that adds ssh keys without prompting user[/-][+][feature-request]: `gh auth login` flag that adds ssh keys to github without prompting user[/+]