Can't connect client when runned from Windows Service
dan at nf15.lightwave.net.ru
Sun Dec 14 04:10:42 EST 2008
On 12.12.2008 13:19, Adriana Rodean wrote:
> I have a client on a Windows machine that connects through openssh on a
> linux server.
> I have this script (tunnel.cmd):
> @echo off
> :RUN echo Connecting…
> "C:/Program Files/OpenSSH/bin/ssh.exe" -R 40201:localhost:50300 -o
> TCPKeepAlive=no -o ServerAliveInterval=15 -o ServerAliveCountMax=2 -i id_rsa
> visma at 10.55.40.123
> echo Restarting in 10 seconds…
> GOTO RUN
> It is runned from another application that starts as windows service.
> When i run the same script manually it makes the connection to linux
> machine. Is not working when we run it from the application that starts as
> windows service.
'-ddd' ssh command line parameter and output redirection will help you.
Sincerely Your, Dan.
More information about the openssh-unix-dev