Configuring the ssh client, Modifying the client – Allied Telesis AlliedWare Plus Operating System Version 5.4.4C (x310-26FT,x310-26FP,x310-50FT,x310-50FP) User Manual
Page 1375
![background image](/manuals/427254/1375/background.png)
Secure Shell (SSH) Introduction
Software Reference for x310 Series Switches
C613-50046-01 REV A
AlliedWare Plus
TM
Operating System - Version 5.4.4C
52.9
Configuring the SSH Client
This section provides instructions on:
■
■
■
■
Connecting to a Server and Running Commands
■
Copying files to and from the Server
■
Modifying the Client
You can configure a selection of variables when using the SSH client. Note that the
following configuration commands apply only to client sessions initiated after the
command. The configured settings are not saved; after you have logged out from the SSH
client, the client returns to using the default settings. Use the command:
The SSH client uses TCP port 22, by default. You can change the TCP port for the remote
SSH server by using the port parameter.
The client supports both SSH version 1 and version 2 sessions, by default. To change the
SSH client to only use a specific SSH version for sessions, for example SSH version 1, use
the version parameter.
The client terminates sessions that are not established after 30 seconds, by default. You
can change this time period by using the session-timeout parameter.
Once the client has authenticated with a server, the client does not time out the SSH
session, by default. Use the session-timeout parameter to set a maximum time period the
client waits before deciding that a session is inactive and terminating the session.
To modify the SSH client so that it uses port 2000 for sessions, and supports only SSH
version 1 connections, use the command:
To modify the SSH client so that unestablished sessions time out after 60 seconds, and
inactive sessions time out after 100 seconds, use the command:
To remove the configured port, SSH version, session timeout, and connection timeout
settings, use the command:
awplus(config)#
ssh client {port <1-65535>|version {1|2}|
session-timeout <0-3600>|connect-timeout
<1-600>}
awplus(config#
ssh client port 2000 version 1
awplus(config)#
ssh client session-timeout 100 connect-timeout
100
awplus(config)#
no ssh client port version session-timeout
connect-timeout