beautypg.com

Defining the ssh timeout value, Configuring maximum idle time for ssh sessions, Displaying ssh information – Brocade Virtual ADX Administration Guide (Supporting ADX v03.1.00) User Manual

Page 25

background image

Brocade Virtual ADX Administration Guide

13

53-1003249-01

Configuring SSH

1

scp user_name@remote_client:/remote_directory_path/startconfig

admin@virtualadx-mgmt-ip:startconfig

SCP is enabled by default and can be disabled. To disable SCP, enter the following command.

Virtual ADX(config)#ip ssh scp disable

Syntax: [no] ip ssh scp disable | enable

If you disable SSH, SCP is also disabled.

Defining the SSH timeout value

When the SSH server attempts to negotiate a session key and encryption method with a connecting
client, it waits a maximum of 120 seconds for a response from the client. If there is no response
from the client after 120 seconds, the SSH server disconnects.

To change the SSH timeout value, enter the following command.

Virtual ADX(config)#ip ssh timeout 60

Syntax: [no] ip ssh timeout seconds

The seconds variable is from 1 to 120 seconds. The default is 120.

Configuring maximum idle time for SSH sessions

By default, SSH sessions do not time out. Optionally, you can set the maximum idle time in minutes
that an established SSH session can be inactive before the Brocade Virtual ADX closes it. For
example, to set the maximum idle time for SSH sessions to 30 minutes, enter the following
command.

Virtual ADX(config)# ip ssh idle-time 30

Syntax: ip ssh idle-time minutes

The minutes variable is the number of minutes for an inactive SSH session. Enter an integer from 0
to 240. An idle time of 0 minutes is the default value and means SSH sessions never time out.

Displaying SSH information

To display detailed SSH information, enter the following command.

Syntax: show ip ssh

Virtual ADX(config)#show ip ssh

Connection

Version

Encryption

Username

1 SSH-2

3des-cbc

admin