diff --git a/shell.sh b/shell.sh index 03d9732..2ad058f 100755 --- a/shell.sh +++ b/shell.sh @@ -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