Secure Shell Commands
©2008 Allied Telesis Inc. All rights reserved.
Software Version 5.2.1
AlliedWare Plus
TM
Operating System Software Reference C613-50003-00 REV E
45.25
ssh server
This command modifies the configuration of the SSH server. Changing these parameters affects
new SSH sessions connecting to the device.
The
no
form restores the configuration of a specified parameter to its default value. 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
Configure mode
Example
To configure the session timer of SSH server to 10 minutes, use the command:
awplus(config)#
ssh server session-timeout 600
To configure the login timeout of SSH server to 30 seconds, use the command:
awplus(config)#
ssh server login-timeout 30
Parameter
Description
v1v2
or
v2only
The SSH versions that the server supports.
Default:
v1v2
v1v2
Supports both SSHv2 and SSHv1client connections.
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
The maximum time period the server waits before deciding that a session is
inactive and terminating it. The server considers the session inactive when it
has not received any data from the client, and the client is not responding 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.