Skip to content

rsshd Command Line Utility

rsshd- Secure Shell server.

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 (-d, -f, -p) are applied only to a new instance of the service.

Options

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

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