Your browser does not allow storing cookies. We recommend enabling them.



ssh-server-ctl — Tectia Server control utility.


ssh-server-ctl [options] [command [command-options] ]


ssh-server-ctl (ssh-server-ctl.exe on Windows) is a control utility that can be used to start, stop, or to reload the configuration of Tectia Server (ssh-server-g3). It can also be used to add new servants or to stop servants, to check the status of the server and to pause the server.


The following options are available:

-C, --current

Connects to the current server.

-D, --debug=LEVEL

Defines the debug level.

-h, --help

Displays the help text for the command.

-l, --listen=PORT

Same as the port option.

-O, --old

Connects to the backup listener.

-P, --pid PID

Targets the command to the ssh-server-g3 process identified with the given PID. Available on Unix only.

-p, --port PORT

Targets the command to the ssh-server-g3 process running on the given PORT. The default port 22 is assumed if this option is not used.


The path to the server control socket.

-q, --quiet

Displays little or no output depending on the command.

-s, --short

Displays a shorter more machine readable output.

-v, --verbose

Displays more information if it is available.

-V, --version

Displays the version string.


ssh-server-ctl accepts the following commands:


Start a new servant or new servants.



Defines the number of servants to be started.


Continue a previously paused service.

del-pwd-cache-user username

(Windows only) This command removes the specified user's password from the currently active server password cache. the command will report an error if the specified user is not present in the password cache.


Pause the service. Existing connections continue to function, but new connections won't be accepted until the continue command has been given.


Prints the server process ID.


Causes the server process to reload its configuration. The configuration is read from the ssh-server-config.xml file. Existing connection stay open using the old configuration and the new connections will use the new configuration.


(Windows only) This command displays all stored usernames from the currently active server password cache. The passwords are not displayed, only the usernames.


Attempts to start the server process by executing ssh-server-g3.

The start command will check if there is a server process currently running; if yes, the tool will report the case and will not make any starting attempts.


-p, --port PORT

Start the server on an alternate port (the default port is 22).

-f, --config-file FILE

Uses the given file as a configuration.


Outputs the server status.



Lists the status for all connections, channels, servants and so on.


Causes the server process to start shutting down. The stop command checks if there is a server process currently running; if not, the tool will report the case and will not make any stopping attempts.


-F, --force

Forcefully disconnects connections to shut down the server quicker. The force option should be given with the inital stop command.

stop-servant id ...

Causes the server to stop servants specifed by their ID numbers. You can use a space-separated list to enter several IDs.


Highlights from the SSH.COM blog:

  • Cryptomining with the SSH protocol: what big enterprises need to know about it

    Cryptomining malware is primarily thought of as targeting desktops and laptops and is used to hijack system resources to mine cryptocurrency.
    Read more
  • SLAM the door shut on traditional privileged access management

    Did you know that something as trivial-sounding as granting access for your developers or third parties to a product development environment can throw a gorilla-sized monkey wrench into your operations and productivity?
    Read more
  • We broke the IT security perimeter

    Everyone understands the concept of a security perimeter. You only gain access if you are identified and authorized to do so.
    Read more