mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 08:42:08 +02:00

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>
477 B
477 B
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}}