Secure Shell (SSH) Introduction
©2008 Allied Telesis Inc. All rights reserved.
43.8
AlliedWare Plus
TM
Operating System Software Reference C613-50003-00 REV E
Software Version 5.2.1
Configuring the SSH Client
This section provides instructions on:
■
Modifying the Client
■
Adding SSH Servers
■
Authenticating with a Server
■
Connecting to a Server and Running Commands
■
Copying files to and from the Server
■
Debugging the Client
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