Configuring Secure Shell
December 2000 4 - 7
Syntax: ip ssh timeout <seconds>
Designating an Interface as the Source for All SSH Packets
You can designate a loopback interface, virtual interface, Ethernet port, or POS port as the source for all SSH
packets from the device. The software uses the IP address with the numerically lowest value configured on the
port or interface as the source IP address for SSH packets originated by the device.
NOTE: When you specify a single SSH source, you can use only that source address to establish SSH
management sessions with the Foundry device.
To specify the numerically lowest IP address configured on a loopback interface as the device’s source for all SSH
packets, enter commands such as a the following:
BigIron(config)# int loopback 2
BigIron(config-lbif-2)# ip address 10.0.0.2/24
BigIron(config-lbif-2)# exit
BigIron(config)# ip ssh source-interface loopback 2
The commands in this example configure loopback interface 2, assign IP address 10.0.0.2/24 to the interface, then
designate the interface as the source for all SSH packets from the Layer 3 Switch.
Syntax: ip ssh source-interface ethernet <portnum> | pos <portnum> | loopback <num> | ve <num>
The <num> parameter is a loopback interface or virtual interface number. If you specify an Ethernet or POS port,
the <portnum> is the port’s number (including the slot number, if you are configuring a Chassis device). For
example:
BigIron(config)# interface ethernet 1/4
BigIron(config-if-1/4)# ip address 209.157.22.110/24
BigIron(config-if-1/4)# exit
BigIron(config)# ip ssh source-interface ethernet 1/4
Viewing SSH Connection Information
Up to five SSH connections can be active on the Foundry device. To display information about SSH connections,
enter the following command:
BigIron#show ip ssh
Connection Version Encryption State Username
1 1.5 ARCFOUR 0x82 neville
2 1.5 IDEA 0x82 lynval
3 1.5 3DES 0x82 terry
4 1.5 none 0x00
5 1.5 none 0x00
Syntax: show ip ssh
This display shows the following information about the active SSH connections:.
Table 4.1: SSH Connection Information
This Field... Displays...
Connection The SSH connection ID. This can be from 1 – 5.
Version The SSH version number. This should always be 1.5.
Encryption The encryption method used for the connection. This can be IDEA,
ARCFOUR, DES, 3DES, or BLOWFISH.