Hacker News new | ask | show | jobs
by blhack 5418 days ago
>So why did he rely on luck instead of SSHing to the laptop and unlocking the machine?

I don't know of a single person who directly connects their laptop to the internet. This would have been sitting behind a NAT device which, unless port 22 was explicitly forwarded to the IP address that his laptop happened to get via DHCP, would have stopped him from SSHing in :)

1 comments

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.

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?