SSH-SIG(1)

πŸ“¦
version 1.10 Β· 2 versions
, in arch rolling, debian trixie, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’… 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