Download Print this page

HP Q.11.XX Manual: Generate The Switch's Public And Private Key Pair

Procurve switches.
Hide thumbs


Configuring Secure Shell (SSH)
Configuring the Switch for SSH Operation
Figure 6-4. Example of Configuring Local Passwords

2. Generate the Switch's Public and Private Key Pair

You must generate a public and private host key pair on the switch. The switch
uses this key pair, along with a dynamically generated session key pair to
negotiate an encryption method and session with an SSH client trying to
connect to the switch.
The host key pair is stored in the switch's flash memory, and only the public
key in this pair is readable. The public key should be added to a "known hosts"
file (for example, $HOME/.ssh/known_hosts on UNIX systems) on the
SSH clients which should have access to the switch. Some SSH client appli-
cations automatically add the switch's public key to a "known hosts" file. Other
SSH applications require you to manually create a known hosts file and place
the switch's public key in the file. (Refer to the documentation for your SSH
client application.)
(The session key pair mentioned above is not visible on the switch. It is a
temporary, internally generated pair used for a particular switch/client ses-
sion, and then discarded.)
When you generate a host key pair on the switch, the switch places the key
pair in flash memory (and not in the running-config file). Also, the switch
maintains the key pair across reboots, including power cycles. You should
consider this key pair to be "permanent"; that is, avoid re-generating the key
pair without a compelling reason. Otherwise, you will have to re-introduce the
switch's public key on all management stations you have set up for SSH access
to the switch using the earlier pair.
Removing (zeroing) the switch's public/private key pair renders the switch
unable to engage in SSH operation and automatically disables IP SSH on the
switch. (To verify whether SSH is enabled, execute show ip ssh.) However, any
active SSH sessions will continue to run, unless explicitly terminated with the
CLI kill command.



   Related Manuals for HP Q.11.XX

This manual also for:


Comments to this Manuals

Symbols: 0
Latest comments: