mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-04 19:55:37 +00:00
Update cheatsheets
This commit is contained in:
25
gh-ssh-key
Normal file
25
gh-ssh-key
Normal file
@@ -0,0 +1,25 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# 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 --title {{title}} {{path/to/key.pub}}`
|
||||
Reference in New Issue
Block a user