Alliedware plus command – Allied Telesis AT-S63 User Manual

Page 797

Advertising
background image

AT-S63 Management Software Command Line User’s Guide

Section IX: Management Security

797

Example

The following is an example of the command sequence to configuring the
SSH software on the server:

1. The first step is to create the two encryption key pairs. Each key must

be created separately and the key lengths must be at least one
increment (256 bits) apart. The following two commands create the
host and server keys using the recommended key lengths:

create enco key=1 type=rsa length=1024 description="host
key"

create enco key=2 type=rsa length=768 description="server
key"

2. The following command disables Telnet:

disable telnet

3. The last command activates the SSH software and sets the host key

as encryption key pair 1 and the server key as key pair 2:

enable ssh server hostkey=1 serverkey=2

AlliedWare Plus

Command

Syntax

service ssh

hostkey

serverkey

Mode

Configure mode

Description

You cannot set the expiry time or the login timeout value from the
AlliedWare Plus commands. To set these parameters, use the standard
command or another management interface.

Example

This example specifies encryption key 1 and encryption key 2 as the host
key and the server key, respectively:

awplus> enable
awplus# configure terminal
awplus(config)# service ssh 1 2

Advertising