1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 16:22:08 +02:00
tldr/pages/common/gh-ssh-key.md
bl-ue 8ebd171d6f
*: fix typos reported by Hunspell (#5848)
Co-authored-by: marchersimon <50295997+marchersimon@users.noreply.github.com>
Co-authored-by: Seth Falco <seth@falco.fun>
Co-authored-by: Patrice Denis <patricedenis@users.noreply.github.com>
2021-05-20 16:13:41 -04:00

20 lines
477 B
Markdown

# gh ssh-key
> Manage GitHub SSH keys from the command-line.
> 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 --title {{title}} {{path/to/key.pub}}`