Attempt to phone home with a reverse ssh tunnel every time the OS X is booted. If ssh crashes or returns, then launchd will restart it in 10 seconds.
Assumptions:
- The
user
has a .ssh/config as described below - The remote host key has been placed in
user's
known_hosts file - A private ssh key is installed at
/Users/user/.ssh/user-home-fwd
- The remote ssh host has the authorized keys file setup as described below
Place the file @ /Library/LaunchDaemons/phone.home.plist