Show Contents / Index / Search

rsshd Command Line Utility

rsshd - Secure Shell server.

Synopsis

rsshd [-c [PasswordCacheFile]] [-d LogLevel] [-f XmlConfigFile]
[-h | -?] [-m [TextConfigFile]] [-p Port] [-start] [-stop] [-V]

Description

You can use the rsshd command line utility to start and stop the Reflection for Secure IT server and manage server settings.

Without any parameters, rsshd starts a process and sends all log information to the command window without starting the service.

Modification options ( -c, -d, -f, -m, -p) are applied only to a new instance of the service.

Options

-c [PasswordCacheFile] [F-SecureHostKeyFile]

RSSHD -c [PasswordCacheFile] [F-SecureHostKeyFile]

Migrates a password cache created using F-Secure or Reflection for Secure IT 6.x. If no password cache file is specified, rsshd looks for rsitdapc in the F-Secure installation folder. If the F-Secure private host key file is not specified, rsshd looks for the host key file based on information in the configuration file in the F-Secure installation folder. With this option the migration is the only action; the service isn't started.

-d LogLevel

Starts the service and sets the log level. Log level values can be 1-5. These values correspond to the following in the console: Errors (1), Warnings (2), Information (3), Protocol details (4), Hex-dump (5) in the console. The default is 3. This setting overrides the configuration file setting.

-f XmlConfigFile

Start the service using the settings in the specified configuration file rather than the default configuration file.

-h | -?

Displays a short summary of command options. The service isn't started.

-m [TextConfigFile]

Migrates settings from a text-based configuration file (created using F-Secure or Reflection for Secure IT prior to version 7.0) to the current default configuration file. If no configuration file is specified, rsshd looks for sshd2_config in the F-Secure installation folder. With this option the migration is the only action; the service isn't started.

-p Port

Specifies the port on which the server listens. The default is 22, which is the standard port for Secure Shell connections.

-start

Starts the service.

-stop

Stops the service.

-V

Displays product name and version information and exits. If other options are specified on the command line, they are ignored.

Return values

rsshd returns 0 (zero) if the command completes successfully. Any non-zero value indicates a failure.