smd-rest...ed-shell(1)
π 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
- ubuntu jammy: syncmaildir 1.3.0-1.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms