1270
Command Reference for AT-IX5-28GPX High Availability, High Power Video Surveillance PoE Switch
C613-50057-01 REV A
AlliedWare Plus™ Operating System - Version 5.4.5-0.x
S
ECURE
S
HELL
(SSH) C
OMMANDS
SSH
CLIENT
ssh client
Overview
This command modifies the default configuration parameters of the Secure Shell
(SSH) client. The configuration is used for any SSH client on the device to connect
to remote SSH servers. Any parameters specified on SSH client explicitly override
the default configuration parameters.
The change affects the current user shell only. When the user exits the login
session, the configuration does not persist. This command does not affect existing
SSH sessions.
The
no
variant of this command resets configuration parameters of the Secure
Shell (SSH) client changed by the
ssh client
command, and restores the defaults.
This command does not affect the existing SSH sessions.
Syntax
ssh client {port <
1-65535
>|version {1|2}|session-timeout
<
0-3600
>|connect-timeout <
1-600
>}
no ssh client {port|version|session-timeout|connect-timeout}
Parameter
Description
port
The default TCP port of the remote SSH server. If an SSH client
specifies an explicit port of the server, it overrides the default TCP
port.
Default: 22
<
1-65535
>
TCP port number.
version
The SSH version used by the client for SSH sessions.
The SSH client supports both version 2 and version 1
Default: version 2
Note: SSH version 2 is the default SSH version. SSH client supports
SSH version 1 if SSH version 2 is not configured using a ssh version
command.
1
SSH clients on the device supports SSH version 1
only.
2
SSH clients on the device supports SSH version 2
only
session-
timeout
The global session timeout for SSH sessions. If the session timer
lapses since the last time an SSH client received data from the
remote server, the session is terminated. If the value is 0, then the
client does not terminate the session. Instead, the connection is
terminated when it reaches the TCP timeout.
Default: 0 (session timer remains off )
<
0-3600
>
Timeout in seconds.
connect-
timeout
The maximum time period that an SSH session can take to become
established. The SSH client terminates the SSH session if this timeout
expires and the session is still not established.
Default: 30
<
1-600
>
Timeout in seconds.