Hacker News new | ask | show | jobs
by Fuxy 4753 days ago
Actually you can write a nice little script that treats autossh like a daemon and restarts it if it crashes.

I did something like that on Arch linux.

Also it's probably a good idea to give it a user with limited permissions on the server it's connecting back to so if somebody finds it the can't just use it to hack your box.