Restricted shell for smd
command="smd-restricted-shell" ssh-rsa ...
This utility is meant to be used in conjunction with an ssh key. You can restrict the commands that are allowed to be executed on your remote host when the login is performed using a particular ssh key. Just prefix the line corresponding to that ssh key with
command="smd-restricted-shell"
~/.ssh/authorized_keys
ssd(8)
Enrico Tassi <[email protected]>