Plink tunnel as a service

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

I'm trying to start a ssh tunnel for a tcp connection, but i want it to
be transparent so i want it to start with windows.
I tried to create a service using instsrv and srvany.
The parameter i used with srvany is "c:\plink\plink.exe -N -l user -i
c:\key.ppk -L 5014:localhost:514"
I tried first the comand line and it worked pretty good, but when i use
it as a service doesn't work.
Watching netstat I see that the connection with the ssh server is
ESTABLISHED but nothing is listening to 5014.
Does anybody know if i'm making something wrong?. Is there any other
way to start the tunnel with windows without somebody logging?

Site Timeline