From bd8e6a6d980eefb4072e671639e8b2b6751806fb Mon Sep 17 00:00:00 2001 From: root Date: Sat, 20 Apr 2019 13:06:24 +0000 Subject: [PATCH] use restrict keyword --- shell.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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