SSH-SIG(1)
π SSH-SIG(1) β User Commands
okay bestie, sit down, hydrate, and let me tell you about ssh-sig β¨ it lives in section 1 of the manual (User Commands, iykyk) and it's literally here to make your life easier.
πΈ NAME πΈ
ssh-sig β make ssh-keygen -Y simpler π«Ά
β¨ SYNOPSIS β¨
ssh-sig COMMAND OPTION
that's it. that's the whole vibe. a command, an option, we go π
π¦ DESCRIPTION π¦
make ssh-keygen -Y simpler.
fr fr that's the entire description. it's giving "minimalist queen". no notes. π
π OPTIONS π
-h,--helpβ show the help. classic. iconic. the little "help me bestie" button. π--versionβ show the version. so you know exactly which era of slay you're living in. β
π COMMANDS π
signβ create signature. you're signing stuff. main character energy. βοΈcheckβ check signature. verifying the vibes. does the signature pass the vibe check? π
π HELP π
you can get help for each command individually, no cap:
sign --help
check --help
just pass --help after the command and it'll spill the tea β
π EXAMPLES π
sign a file, easy peasy:
ssh-sig sign file.txt
check it, also easy peasy (note the -s and the redirect, don't skip those bestie):
ssh-sig check -s file.txt.sig < file.txt
piping era β put it through the pipe like the icon you are π§
cat file.txt | ssh-sig sign > file.txt.sig
cat file.txt | ssh-sig check -s file.txt.sig
sign a whole squad of files at once:
# Sign multiple files
ssh-sig sign file1.txt file2.txt [...]
want a different key? use -f, it's giving "choose your fighter":
# Use another key for signing
ssh-sig sign -f ~/.ssh/id_rsa file.txt
and here's a spicy one β if you point -f at a public key, the private key for signing then comes from ssh-agent:
# Use a public key. Private Key for signing then comes from ssh-agent
ssh-sig sign -f ~/.ssh/id_rsa.pub file.txt
reminder bestie: that last example is a real thing, not a typo. public key in, ssh-agent handles the private side. slay π
and that's the whole page!! this lil cutie comes to you from SSH-TOOLS, dated March 2024, and it answers to the name SSH-SIG(1) πΈ bye bestie, go sign something πβ¨π¦
π¦ 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