Skip to content

Commit e2082f8

Browse files
authored
gh-ssh-key: add page (#5308)
1 parent 8db0a07 commit e2082f8

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

pages/common/gh-ssh-key.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# gh ssh-key
2+
3+
> Manage GitHub SSH keys from the command line.
4+
> More information: <https://cli.github.com/manual/gh_ssh-key>.
5+
6+
- Display help:
7+
8+
`gh ssh-key`
9+
10+
- List SSH keys for the currently authenticated user:
11+
12+
`gh ssh-key list`
13+
14+
- Add an SSH key to the currently authenticated user's account:
15+
16+
`gh ssh-key add {{path/to/key.pub}}`
17+
18+
- Add an SSH key to the currently authenticated user's account with a specific title:
19+
20+
`gh ssh-key add --title {{title}} {{path/to/key.pub}}`

0 commit comments

Comments
 (0)