Using text commands – Westermo MR Series User Manual
Page 250

250
6622-3201
Web Interface and Command Line Reference Guide
www.westermo.com
MAC MD5 preference (0= disabled):
MAC MD5-96 preference (0=disabled):
MAC SHA1 preference (0=disabled):
MAC SHA1-96 preference (0=disabled):
Each of the above four parameters may be used allocate a preference value to each of the
authentication methods. Each parameter, when set to a non-zero value, indicates the prefer-
ence level for that authentication parameter. The lower the value, the higher the preference
level. For example, if MAC SHA1-96 was the preferred method of authentication you would set
MAC SHA1 96 to 1 and the other parameters to 2 or more. If all of these parameters are set to
the same value, the unit automatically uses them in the following order: SHA1, SHA1-96, MD5,
MD5-96.
Debug output:
If you have problems in establishing an SSH connection, this parameter may be turned on to
enable debug information about the connection to be routed to the debug port.
Using Text Commands
From the command line, use the ssh command to configure or display SSH server settings. To dis-
play current settings for the SSH server enter the following command:
ssh
where
instance parameter has been included to allow for future expansion.
To change the value of a parameter use the following command:
ssh 0
The parameters and values are:
Parameter
Values
Equivalent Web Parameter
comp
number
Compression level
debug
off, on
Debug output
fwd
off, on
Port forwarding enabled
hostkey1
filename
Host key #1
hostkey2
filename
Host key #2
initkex
off, on
Actively start key exchange
loginsecs
number
Maximum login time
logintries
number
Maximum login attempts
mac_md5
number
MAC MD5 preference
mac_md596
number
MAC MD5-96 preference
mac_sha1
number
MAC SHA1 preference
mac_sha196
number
MAC SHA1-96 preference
nb_listen
number
Number of listening sockets
rekeykbytes
number
Rekey Kbytes
svrkeybits
number
Server key bits
v1
off, on
V1.5 enabled
v2
off, on
V2.0 enabled
For example, to set the number of listening ports to 3 seconds, enter:
ssh 0 nb_listen 3