1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-06-08 10:06:01 +02:00
tldr/pages/common/gh-ssh-key.md
Managor ad7b6f797c
common*: refresh old pages part 6 (#16288)
Co-authored-by: Machiavelli <145562237+MachiavelliII@users.noreply.github.com>
2025-05-03 05:57:05 +03:00

20 lines
464 B
Markdown

# gh ssh-key
> Manage GitHub SSH keys.
> More information: <https://cli.github.com/manual/gh_ssh-key>.
- Display help:
`gh ssh-key`
- 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 {{[-t|--title]}} {{title}} {{path/to/key.pub}}`