cli / cli/cli

[feature-request]: `gh auth login` flag that adds ssh keys to github without prompting user

Open
#11,831 1 comment 1 reaction 0 assignees View on GitHub
enhancement gh-auth needs-triage
Dominant language
Go
Stars
46.3k
Forks
9k
Avg merge
2d 9h
Merged PRs (30d)
89

Description

### 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
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.