Yes, I had thought of that, but couldn't determine how to run a script as a service. After looking into a bit I discovered that with the Scheduled Tasks functionality in the Control Panel you can define a task that runs at startup. I defined a simple VB Script file, InitSSHTunnel.vbs, to launch PuTTy. It was only 2 lines:
Set objShell = WScript.CreateObject("WScript.Shell")
objShell.Run "putty -load <Saved Session Name>"
One potential gotcha is that you have to look at the advanced properties after defining the task and un-check an option to stop the task if it runs for more than 72 hours.
Thanks,
Sam
--
_______________________________
Sam Santiago
(E-Mail Removed)
http://www.SoftiTechture.com
_______________________________
"Neteng" <(E-Mail Removed)> wrote in message news:uMoHO$(E-Mail Removed)...
You could write a simple batch script to do this.
"Sam Santiago" <(E-Mail Removed)> wrote in message news:(E-Mail Removed)...
I would like to create an SSH Tunnel on a Windows 2003 server as a service, so that whenever the server is rebooted a SSH connection is established to another server. What I am looking for is the functionality similar to PuTTY that can operate as a service - no active login required. Authenticating with private/public keys a must. Any guidance as to available software to accomplish this would be greatly appreciated.
Thanks,
Sam
--
_______________________________
Sam Santiago
(E-Mail Removed)
http://www.SoftiTechture.com
_______________________________