GH-SSH-KEY-ADD(1)
π NAME π
okay so bestie, this is gh-ssh-key-add, and the manual page you're reading is GH-SSH-KEY-ADD(1) β it's literally the glow-up for adding an SSH key to your GitHub account. no cap, that's the whole main character job. π
β¨ SYNOPSIS β¨
here's the exact shape of the command, bestie β copy it exactly, don't freestyle the flags:
gh ssh-key add [<key-file>] [flags]
π OPTIONS π
-t,--title <string>β this one gives your new key a title, slay π--type <string>β type of the ssh key:{authentication|signing}; default is"authentication"β¨
π¦ EXIT CODES π¦
0: Successful execution β ate π1: Error β not the vibe π2: Command canceled β okay, we can stop, periodt4: Authentication required β bestie, you gotta log in first π
NOTE: Specific commands may have additional exit codes. Refer to the command's help for more information.
πΈ SEE ALSO πΈ
gh-ssh-key(1)β go check out the sibling page, iykyk π
mwah π β this cutie came from GitHub CLI v2.102.0, dated Oct 2026, and that's the whole sign-off, fr fr ππ«Ά
π¦ where this page comes from
- opensuse-leap 16.0: gh 2.102.0-bp160.1.1 Β· MIT
- opensuse-leap 16.0: gh 2.102.0-bp160.1.1 Β· MIT
- opensuse-leap 16.0: gh 2.102.0-bp160.1.1 Β· MIT
- opensuse-leap 16.0: gh 2.102.0-bp160.1.1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms