The Configuration File; Param Commands - HP NonStop SSH 544701-014 Reference Manual

Table of Contents

Advertisement

The Configuration File

Configuration files can be modified with a standard NonStop editor, such as TEDIT. The name of the file that a SSH2
process should use as the configuration source is passed to the program during startup. (See the
for details.)
The file contains entries in the following form:
parameter-name
parameter-value
Like in the standard TCP/IP configuration files, any lines starting with a "#" character are interpreted as comments.
Following is a sample configuration file for running SSH2 as a server that provides SFTP functionality:
# sample configuration file for a SSH2 server
#---------------------------------------------------------------------------------
# general settings
# TCP/IP process the server runs on
SUBNET
$ZTC1
# port where SSH2 listens for incoming SSH connections
# we use the well-known SSH port
PORT
22
# file name of host key file
HOSTKEY
hostkey
# file name of user database file
SSHCTL
SSHCTL
#---------------------------------------------------------------------------------
# log configuration
# set the level
LOGLEVEL 50
# enable console logging to $0
LOGCONSOLE $0
# additionally log to file
LOGFILE $data1.ssh2.ssh2log

PARAM Commands

The following PARAM command can be used to set SSH2 configuration parameters:
PARAM <parameter name> <parameter value>
If the parameter value contains one or more commas, it must be included in double quotes (see PARAM command in the
NonStop "TACL Reference Manual" for use of comma as separator):
PARAM <parameter name> "<parameter value>"
All available SSH2 parameters can be specified using PARAM commands. But please be aware of the limitations
described in the TACL Reference Manual: "TACL reserves 1024 bytes of internal storage for parameters and their
values. The number and length of parameters in effect are limited by this storage area."
The following example demonstrates how to use a PARAM command to start an SSH2 server listening on $ZTC03, port
22:
> PARAM PORT 22
> PARAM SUBNET $ZTC03
> RUN SSH2/ NAME $SSH02 / SERVER
48 • Configuring and Running SSH2
"Starting
SSH2" section
HP NonStop SSH Reference Manual

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents