Re: How to make ssh tunnel work if started as windows service?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

Thank you all for the help :)
Finally good news, made it to work as Network Service and connects
successfully :)

This is the correct script:

@echo off
:RUN echo Connecting…
"C:/Program Files/OpenSSH/bin/ssh.exe" -R 20210:localhost:50300 -o
BatchMode=yes -o StrictHostKeyChecking=no -o  VerifyHostKeyDNS=no -o
TCPKeepAlive=no -o ServerAliveInterval=15 -o ServerAliveCountMax=2 -i
"C:/Program Files/Visma/OPGatewayService/id_rsa" visma@xxxxxxxxxxxx
echo Restarting in 10 seconds…
GOTO RUN

Best regards and thanks again,
Adriana


[Index of Archives]     [Open SSH Unix Development]     [Fedora Users]     [Fedora Desktop]     [Yosemite Backpacking]     [KDE Users]     [Gnome Users]

  Powered by Linux