#!/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