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

8 lines
153 B
Bash
Raw Normal View History

2022-07-23 16:34:13 +02:00
#!/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