beautypg.com

Ssh server, Ssh server {[v1v2|v2only]|<1-65535 – Allied Telesis AlliedWare Plus Operating System Version 5.4.4C (x310-26FT,x310-26FP,x310-50FT,x310-50FP) User Manual

Page 1413

background image

Secure Shell (SSH) Commands

Software Reference for x310 Series Switches

C613-50046-01 REV A

AlliedWare Plus

TM

Operating System - Version 5.4.4C

54.31

ssh server

This command modifies the configuration of the SSH server. Changing these parameters
affects new SSH sessions connecting to the device.

The no variant of this command restores the configuration of a specified parameter to its
default. The change affects the SSH server immediately if the server is running. Otherwise,
the configuration is used when the server starts.

To enable the SSH server, use the

service ssh

command.

Syntax

ssh server {[v1v2|v2only]|<1-65535>}

ssh server {[session-timeout <0-3600>] [login-timeout <1-600>]

[max-startups <1-128>]}

no ssh server {[session-timeout] [login-timeout] [max-startups]}

Mode

Global Configuration

Parameter

Description

v1v2

Supports both SSHv2 and SSHv1client connections.

Default: v1v2

v2only

Supports SSHv2 client connections only.

<1-65535>

The TCP port number that the server listens to for incoming SSH
sessions.

Default: 22

session-
timeout

There is a maximum time period that the server waits before deciding
that a session is inactive and should be terminated. The server
considers the session inactive when it has not received any data from
the client, and when the client does not respond to keep alive
messages.

Default: 0 (session timer remains off ).

<0-3600>

Timeout in seconds.

login-
timeout

The maximum time period the server waits before disconnecting an
unauthenticated client.

Default: 60

<1-600>

Timeout in seconds.

max-
startups

The maximum number of concurrent unauthenticated connections
the server accepts. When the number of SSH connections awaiting
authentication reaches the limit, the server drops any additional
connections until authentication succeeds or the login timer expires
for a connection.

Default: 10

<1-128>

Number of sessions.