mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-06-05 18:45:59 +02:00
gh-ssh-key: add page (#5308)
This commit is contained in:
parent
8db0a074e7
commit
e2082f8adc
1 changed files with 20 additions and 0 deletions
20
pages/common/gh-ssh-key.md
Normal file
20
pages/common/gh-ssh-key.md
Normal file
|
@ -0,0 +1,20 @@
|
|||
# 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}}`
|
Loading…
Add table
Reference in a new issue