8-19
Configuring Secure Shell (SSH)
Configuring the Switch for SSH Operation
N o t e o n P o r t
N u m b e r
HP recommends using the default TCP port number (22). However, you can
use
ip ssh port
to specify any TCP port for SSH connections except those
reserved for other purposes. Examples of reserved IP ports are 23 (Telnet)
and 80 (http). Some other reserved TCP ports on the switch are 49, 80, 1506,
and 1513.
Figure 8-10. Example of Enabling IP SSH and Displaying the SSH Configuration
C a u t i o n
Protect your private key file from access by anyone other than yourself. If
someone can access your private key file, they can then penetrate SSH security
on the switch by appearing to be you.
SSH does not protect the switch from unauthorized access via the WebAgent,
Telnet, SNMP, or the serial port. While WebAgent and Telnet access can be
restricted by the use of passwords local to the switch, if you are unsure of the
security this provides, you may want to disable web-based and/or Telnet
access (
no web-management
and
no telnet
). If you need to increase SNMP
security, you should use SNMP version 3 only. If you need to increase the
security of your web interface see the section on SSL. Another security
measure is to use the Authorized IP Managers feature described in the switch’s
Management and Configuration Guide
. To protect against unauthorized
HP Switch(config) ip ssh
HP Switch(config)# show ip ssh
SSH Enabled : Yes Secure Copy Enabled : No
TCP Port Number : 22 Timeout (sec) : 120
IP Version : IPv4orIPv6
Host Key Type : RSA Host Key Size : 1024
Ciphers : aes128-cbc,3des-cbc,aes192-cbc,aes256-cbc,
[email protected],aes128-ctr,aes192-ctr,aes256-ctr
MACs : hmac-md5,hmac-sha1,hmac-sha1-96,hmac-md5-96
Ses Type | Source IP Port
--- -------- + ---------------------------------------------- -----
1 console |
2 telnet |
3 ssh | 12.255.255.255
4 inactive |
5 inactive |
6 inactive |
With SSH running, the switch allows one console
session and up to five other sessions (SSH and/or
Telnet). WebAgent sessions are also allowed, but do
not appear in the
show ip ssh
listing.
Enable SSH
Summary of Contents for E3800 Series
Page 2: ......
Page 3: ...HP Networking E3800 Switches Access Security Guide September 2011 KA 15 03 ...
Page 30: ...xxviii ...
Page 86: ...2 36 Configuring Username and Password Security Password Recovery ...
Page 186: ...4 72 Web and MAC Authentication Client Status ...
Page 364: ...8 32 Configuring Secure Shell SSH Messages Related to SSH Operation ...
Page 510: ...10 130 IPv4 Access Control Lists ACLs General ACL Operating Notes ...
Page 548: ...11 38 Configuring Advanced Threat Protection Using the Instrumentation Monitor ...
Page 572: ...12 24 Traffic Security Filters and Monitors Configuring Traffic Security Filters ...
Page 730: ...20 Index ...
Page 731: ......