Can Tectia Client (Broker) be run as Windows Service?
asked Jan 17 '11 at 11:53
SSH KB ♦
Here's a information how to run Broker as Windows Service.
While we do not officially support the Client (Broker) running as a Windows Service, we are providing this information to those customers who may wish to run the Tectia Client as a Windows Service. Remember that we do not officially support this configuration, so if you should encounter problems, we may not be able to provide assistance to help resolve any issues related to that configuration.
The recommended way to run the broker as a service is to run it as a regular user account instead of something like the SYSTEM account. This allows for the user to be set up and test for things like proper public/user key setup, and can allow for use of some of our Connect secure features (as long as the 3rd party apps are run as the same user the service is running as).
User profile folder
Broker stores configuration files and keys for user and server authentication under
When you run Broker as SYSTEM account, %USERPROFILE% folder will be:
IMPORTANT Please do not run broker as SYSTEM process on Windows Server 2003 and place key files for user authentication under
For non-interactive user authentication, you have to create and setup public key authentication with ssh-keygen-g3 command line tool. Please refer to the manual on how to set up public key authentication. Here is a link to the 6.0. documentation over public key authentication: http://www.ssh.com/support/documentation/online/ssh/winhelp/60/userauth-pk.html
We do not recommend to run Broker as service. Instead, we recommend to use command line file transfer tools such as sftpg3 and scpg3 from script instead of running Broker as service.
Command line tools such as scpg3 and sftpg3 launches Broker if it is not running so you do not need to run broker as service or manually.
How to setup the broker to run as a service
Please see the Microsoft KB for updates or changes to these instructions. Here are some links to review:
Key Name: Parameters Class : Select the Parameters key.
Value Name: Application Data Type : REG_SZ String :
Now you can run Broker as service. By default, Broker runs as SYSTEM account so if you need to change account, please change it from Services console.