Show Contents / Index / Search

rsshd Command Line Utility

rsshd - Secure Shell server.

Synopsis

rsshd -start [-d LogLevel] [-f XmlConfigFile] [-p Port]

rsshd [-c [PasswordCacheFile]] [-h | -?] [-m [TextConfigFile] [-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. To launch the service from the command line, use the -start.

Note: Without any parameters, rsshd starts a process and sends all log information to the command window without starting the service. In this case, the rsshd process runs with your current privileges, and remote connections will generally fail (unless you are running with highly elevated privileges).

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

Options

-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

Use in combination with -start to enable logging to a text log and set 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

Use in combination with -start to 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 prior version settings and host key. Settings are converted 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. Use this switch in combination with -start.

-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.