Thursday, March 3, 2011

How do you open an SSH Tunnel from a Windows client as a background program?

I would like a Win machine to tunnel into an SSH server whenever the machine starts up. I also want the win machine to reboot the SSH program if it ever crashes. The lighterweight & more stable the SSH program, the more happier I am.

What options do I have with this?

From stackoverflow
  • The PuTTY suite is probably your best bet, IMO. (Disclaimer: I'm biased as Simon Tatham is a friend of mine from university. Mind you, that means I know how meticulous he is...)

    Vinko Vrsalovic : PuTTY is awesome.
    Mikeage : Jon Skeet is awesome. PuTTY is just a software program
  • Look at using srvany to launch the SSH client as a windows service. Then you can set the service to start up automatically when Windows start.

    Essentially, srvany.exe will let you launch any program from the windows service control manager.

    http://support.microsoft.com/kb/137890

    kanngard : A good tutorial how to do this can be found at http://xxlinxx.wordpress.com/2009/03/23/set-up-an-ssh-tunnel-as-a-windows-service-using-putty-plink

0 comments:

Post a Comment