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

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

 



Hi,

I have a script (cmd file) that creates a openssh tunnel between a
windows machine with a linux machine. Is started from another program
that runs as a windows service.
Script makes the connection if is started manually from command line,
or if program is started as executable. But when i start it as windows
service i see it running in task manger (cmd.exe and ssh.exe) but it
doesn't make the tunnel with the server.
I've tried different user accounts to make it connect as service. Only
one that could connect is if is runned under the user that is logged
on, but that means user has to input username and password.
Is it a way to make connection if is runned as Local service or
Network Service or Local System?

Thanks in advance,
Adriana

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

  Powered by Linux