Set ssh server – Allied Telesis AT-S60 User Manual
Page 272
Chapter 25: SSH Commands
270
SET SSH SERVER
Syntax
set ssh server hostkey=key-id serverkey=key-id
[expirytime=hours] [logintimeout=seconds]
Parameters
hostkey
A decimal key ID.
serverkey
A decimal key ID.
expirytime
The time in hours.
logintimeout
The time in seconds.
Description
This command modifies the configuration of the Secure Shell server.
The HOSTKEY parameter specifies the key that is used for the switch host
key. The specified key must exist.
The SERVERKEY parameter specifies the key that is used for the Secure
Shell server key. The specified key must exist.
The EXPIRYTIME parameter specifies the time, in hours, after which the
Secure Shell server key will expire and will be regenerated. If 0 is
specified the key does not expire. The default is 0.
The LOGINTIMEOUT parameter specifies the length of time the server
waits before disconnecting an un-authenticated client. The default is
180 seconds (3 minutes).
By default, the Secure Shell server is disabled. Secure Shell sessions may
be initiated from the switch to another host, but inbound connections
will not be accepted.
Example
The following command sets the Secure Shell server key expiry time to 1
hour:
set ssh server expirytime=1