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