From e2082f8adce9cac4f322c4e5e35f417fce5bf3b6 Mon Sep 17 00:00:00 2001 From: Axel Navarro Date: Wed, 24 Feb 2021 10:39:13 -0300 Subject: [PATCH] gh-ssh-key: add page (#5308) --- pages/common/gh-ssh-key.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 pages/common/gh-ssh-key.md diff --git a/pages/common/gh-ssh-key.md b/pages/common/gh-ssh-key.md new file mode 100644 index 0000000000..268ffd608a --- /dev/null +++ b/pages/common/gh-ssh-key.md @@ -0,0 +1,20 @@ +# gh ssh-key + +> Manage GitHub SSH keys from the command line. +> More information: . + +- 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}}`