smd-rest...ed-shell(1)

πŸ“¦
version 1.3.0 Β· 2 versions
, in ubuntu jammy

πŸ’– smd-restricted-shell(1) πŸ’–

okay bestie, so this is the manual page for smd-restricted-shell, section 1 of the Sync Mail Dir (smd) docs. it's short. it's iconic. it's giving "tiny tool, huge security vibes". let's get into it 🫢


✨ NAME ✨

smd-restricted-shell β€” the restricted shell for smd. no cap, that's literally the whole name.


πŸŽ€ SYNOPSIS πŸŽ€

command="smd-restricted-shell" ssh-rsa ...

πŸ¦‹ DESCRIPTION πŸ¦‹

so this utility is meant to be used in conjunction with an ssh key. yes queen, ssh keys. πŸ’…

here's the tea: when someone logs in to your remote host using one particular ssh key, you can restrict which commands are allowed to actually get executed. locked down. curated. main character only. πŸ‘‘

all you gotta do is take the line that corresponds to that ssh key and prefix it with:

command="smd-restricted-shell"

that's it. that's the whole move. slay. ✨


🌸 FILES 🌸

  • ~/.ssh/authorized_keys

(the sacred scroll where the magic happens, fr fr πŸ—οΈ)


⭐ SEE ALSO ⭐

  • ssd(8)

go read that one too, bestie, it's part of the lore. πŸ¦‹


πŸ‘‘ AUTHOR πŸ‘‘

Enrico Tassi <gares@fettunta.org> β€” the icon who made this. show some respect. πŸ’–


okay that's the page!! this was the Sync Mail Dir (smd) documentation for smd-restricted-shell(1), dated 21 April 2021. go forth and restrict those shells, bestie, and stay safe out there πŸŒˆπŸ’œβœ¨

πŸ“¦ where this page comes from