Hacker News new | ask | show | jobs
by icebraining 5419 days ago
That's why I have a two line shell script that creates an SSH tunnel to my server if I put a file called 'reversessh' on my webserver.

I mean, basically doing what Prey does, but without relying on a third-party service and having much more control over the machine.

3 comments

See also AutoSSH: https://secure.wikimedia.org/wikipedia/en/wiki/Autossh

"Autossh is a program to start a copy of SSH and monitor it, restarting it as necessary should it die or stop passing traffic."

Now that's hack-zore :).
Would you share that script?