glab(1)
πΈ glab(1) β the glab manual, bestie edition πΈ
okay so you're reading the glab manual, specifically the page for glab-ssh-key-get, and honestly? iconic of you. let's get into it π
β¨ NAME β¨
glab-ssh-key-get β returns a single SSH key specified by the ID. that's it, that's the whole vibe. one key, by ID, served fresh π
β¨ SYNOPSIS β¨
glab ssh-key get [] [flags]
β¨ DESCRIPTION β¨
so here's the tea π: you pass the key ID as an argument, or β and this is the fun part β you run the command with no arguments at all and it lets you pick a key interactively. main character choose-your-own-adventure energy, literally.
wanna know the IDs in the first place? run glab ssh-key list --show-id and it'll spill them for you. iykyk π
by default, the command prints the public key. just the public one. but if you want the whole entire key object β the full thing, no crumbs β use --output json. slay.
β¨ OPTIONS β¨
--jq=""β filter that JSON output with ajqexpression. chef's kiss for when you only want one lil field. π₯-F,--output="text"β format the output as:text,json.-p,--page=1β page number. which page of the list we're on, bestie. π-P,--per-page=20β number of items to list per page. default is20, bump it if you're feeling greedy β¨
β¨ OPTIONS INHERITED FROM PARENT COMMANDS β¨
-h,--help[=false]β show help for this command. the classic. the blueprint. π«Ά-R,--repo=""β select another repository. you can use eitherOWNER/REPOorGROUP/NAMESPACE/REPO. the full URL or Git URL is also accepted. flexible queen behavior π
β¨ EXAMPLE β¨
# Get ssh key with ID as argument
glab ssh-key get 7750633
# Interactive
glab ssh-key get
# Interactive, with pagination
glab ssh-key get -P 50 -p 2
see? argument, no argument, and no argument but with pagination. three flavors of the same slay π
β¨ SEE ALSO β¨
glab-ssh-key(1)β go say hi to the parent page, it misses you π
ngl, don't forget: if you leave off the ID you're going interactive, so be ready to actually pick something. no cap π
Auto generated by spf13/cobra π§ Nov 2026 β and that's the whole page, bestie! glab(1), rewritten with love, signed off with a sparkle β¨π
π¦ where this page comes from
- arch rolling: glab 1.128.0-1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms