Show HN: I made my Raspberry Pi a secret phone homing server
tunnelsup.com
tunnelsup.com
The one in this article looks like a fire hazard. I guess that's one way to cover your tracks :P
SCP'ing the public key directly to ~/.ssh/authorized_keys could overwrite the file if it already exists. It's better to use 'ssh-copy-id', which takes care of everything for you. Most distros should have it already.
Autossh can take care of setting up, monitoring, and restarting the tunnels for you. Arguments are almost exactly the same as ssh, just toss it into your crontab and have it run @reboot.
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.
Check out this presentation from DerbyCon about using a cheap NAS to do something similar: http://www.youtube.com/watch?v=dxdm86r26Co Irongeek has a writeup about the same thing here: http://www.irongeek.com/i.php?page=security/svartkast-pogopl... and some instructions to do it specifically on an RPi: http://www.irongeek.com/i.php?page=security/raspberry-pi-i2p...
Great line. Now, if only the NSA were as helpful with its remote tech support.
Original project: http://hakshop.myshopify.com/products/wifi-pineapple
Slightly ominous line: "I have this plugged into an office somewhere."
Which started me thinking... What if you would build RPi or similar small device into a router's casing and made it act like a router on the same time. Obviously you'd have to have some way of copying configs over from the old box to the impostor box, but it could be harder to spot since there wouldn't be any extra hardware.
(http://www.economist.com/news/obituary/21569674-aaron-swartz...)