beautypg.com

Ssh client – Allied Telesis AlliedWare Plus Operating System Version 5.4.4C (x310-26FT,x310-26FP,x310-50FT,x310-50FP) User Manual

Page 1411

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.29

ssh client

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}

Mode

Privileged Exec

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.