beautypg.com

Enable ssh server – Allied Telesis AT-S60 User Manual

Page 271

background image

AT-S60 Command Line User’s Guide

269

ENABLE SSH SERVER

Syntax

enable 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 enables the Secure Shell server. When the Secure Shell
server is enabled, connections from Secure Shell clients are accepted.

The HOSTKEY parameter specifies the key that is to be used for the
switch host key. The specified key must exist.

The SERVERKEY parameter specifies the key that is to be 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 range is 0 to 5 and the default is 0.

The LOGINTIMEOUT parameter specifies the length of time the server
waits before disconnecting an un-authenticated client. The range is 60
to 600 and the default is 180.

By default the Secure Shell server is disabled.

Note

Before you enable SSH, disable the Telnet management session.
Otherwise, the security provided by SSH is not active. See DISABLE
TELNET
on page 30.

Example

The following command enables the Secure Shell server:

enable ssh server hostkey=0 serverkey=1