SSH-CERTINFO(1)
π SSH-CERTINFO π
okay bestie, welcome to ssh-certinfo β it's a lil tool from the ssh-tools collection and it lives in section 1 of the manual (that's the "user commands" section, iykyk). she's giving β¨certificate detectiveβ¨ and honestly? obsessed.
πΈ NAME πΈ
ssh-certinfo β shows validity and information of SSH certificates π
π¦ SYNOPSIS π¦
ssh-certinfo [OPTIONS] CERT-FILE [...]
like, you give her some cert files, she tells you the tea. multiple files? sure bestie, she can handle a whole crowd. π
β¨ DESCRIPTION β¨
shows validity and information of SSH certificates
that's it, that's the whole vibe. she looks at your SSH certs and tells you how valid they are and what's up with them. no cap, that's genuinely the entire job and she does it flawlessly. π«Ά
π OPTIONS π
-cβ show colors π (yes she's gonna be pretty about it)-hβ show this message π¬ (the classic "help me pls" button)-w daysβ warning threshold (default:30) β° β so if a cert expires within days days, you get warned. default is30days, and yes you can change it, she's flexible like that.-vβ verbose output π£οΈ β she says MORE. more words. more info. more everything.--versionβ show version information π β because sometimes you just gotta know which era of the software you're living in
π EXAMPLES π
Default π«
ssh-certinfo ~/.ssh/id_rsa-cert.pub
ssh-certinfo ~/.ssh/*.pub
Certificates which expire within the next 2 months (colored output): π¨
ssh-certinfo -c -w 60 ~/.ssh/id_rsa-cert.pub
ssh-certinfo -c -w 60 ~/.ssh/*.pub
see what she did there? -w 60 = warn me if anything's expiring in the next 60 days, and -c = make it pretty while you deliver the bad news. it's giving "gentle but urgent" ππΈ
ngl bestie, if you're running this without -c you're simply not living your main character life. the colors ate. periodt. π
and that's the whole page, bestie!! π she's part of SSH-TOOLS, version dated March 2024 β shoutout to the ssh-tools girlies for keeping our certs in check, we love to see it. mwah πππ¦πΈπ
π¦ where this page comes from
- arch rolling: ssh-tools 1.10-1 Β· GPL-3.0-only
- debian trixie: ssh-tools 1.9-1+b6 Β· GPL-3.0-or-later
- ubuntu questing: ssh-tools 1.9-1
- ubuntu resolute: ssh-tools 1.9-1build1 Β· GPL-3.0-or-later
- ubuntu stonking: ssh-tools 1.9-2 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms