In Windows XP or above, I may run a shell command
putty.exe -load ssh_tunnel
to start a ssh session configured as ssh tunneling.
I want to ssh tunnel session become available when my computer start without logon to any user session.
Keep the shell command in Windows service seems to be the only solution. I try create a service:
c:\> sc create ssh_tunnel binpath="c:\putty.exe -load ssh_tunnel [SC] CreateService SUCCESS
The service created successfully. When I start the service:
C:\>sc start ssh_tunnel [SC] StartService FAILED 1053: The service did not respond to the start or control request in a timely fashion.
It doesn't start.