-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
Hi folks,
I'm in need of some wizardry.
I have a machine at home that's connected to the telly so that the wife can use it for Skype (just bought a *really* nice HD webcam) and browsing etc (and I can use it for Steam ;)
What I need is for it to ssh to my server when it boots and open a port there to its local sshd so that I can ssh into it whenever I need. I'm on an ISP that will change my IP address every now and then and I don't want to muck about with dyndns etc. so this is my preferred solution.
I know how to do the ssh bit: ssh -R 2222:localhost:22 server
What I don't know is how to make it do that when it boots - obviously when the wifi gets around to connecting - and to make it resilient to drop outs, i.e. reconnect if the connection is lost.
Any ideas?
Cheers, Steve