use restrict keyword

This commit is contained in:
root 2019-04-20 13:06:24 +00:00
parent 43e85ec8e7
commit bd8e6a6d98
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@
# shold be started from a separate account
# access via ssh:
# cat .ssh/authorized_keys
# command="/home/automation/chch-power/shell.sh",no-port-forwarding,no-X11-forwarding,no-agent-forwarding,no-pty ssh-rsa AAAA...
# restrict,command="/home/automation/chch-power/shell.sh" ssh-rsa AAAA...
COMMAND_FILE=/tmp/command
if [ ! -p "$COMMAND_FILE" ]; then