Networking Forums

Networking Forums > Computer Networking > Windows Networking > SSH Tunneling Service

Reply
Thread Tools Display Modes

SSH Tunneling Service

 
 
Sam Santiago
Guest
Posts: n/a

 
      06-16-2005, 11:42 PM
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
_______________________________
 
Reply With Quote
 
 
 
 
Neteng
Guest
Posts: n/a

 
      06-17-2005, 01:23 PM
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
_______________________________
 
Reply With Quote
 
Sam Santiago
Guest
Posts: n/a

 
      06-17-2005, 10:19 PM
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
_______________________________
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
tunneling ssh wiso Linux Networking 12 06-30-2007 10:30 AM
Tunneling Betsy Windows Networking 4 09-08-2006 01:53 PM
Tunneling VNC over ssh sinister Linux Networking 2 11-01-2004 09:02 PM
TUN/TAP tunneling in 2.6.8.1 Mirco Schmidt Linux Networking 3 08-23-2004 09:16 AM
vnc tunneling over ssh Wolfgang Ebersbach Linux Networking 23 01-14-2004 03:00 PM



1 2 3 4 5 6 7 8 9 10 11