gh-ssh-key - Man Page
Manage SSH keys
- Display help:
- List SSH keys for the currently authenticated user:
gh ssh-key list
- Add an SSH key to the currently authenticated user's account:
gh ssh-key add path/to/key.pub
- Add an SSH key to the currently authenticated user's account with a specific title:
gh ssh-key add --title title path/to/key.pub
gh ssh-key <command> [flags]
Manage SSH keys registered with your GitHub account.
Add an SSH key to your GitHub account
Delete an SSH key from your GitHub account
Lists SSH keys in your GitHub account
gh(1), gh-ssh-key-add(1), gh-ssh-key-delete(1), gh-ssh-key-list(1).
Mar 2023 GitHub CLI manual