netz39-infra-ansible/files/platon/sesam-door-open.sh

7 lines
153 B
Bash
Executable file

#!/bin/bash
echo "`date` : $SSH_KEY_OWNER" >> /home/sesam/door_open.log
ssh pi@localhost -i /home/sesam/.ssh/id_rsa \
-t /home/pi/sesame-open.sh