HP VMA SAN Gateway Users Guide For Release G5.5.1
196 HP VMA SAN Gateway User’s Guide AM456-9026A
SSH Server Commands
Enable or Disable the SSH Server
[no] ssh server enable
Enable or disable the ssh server.
If the ssh server is disabled, the CLI is accessible over the serial console, or the local console using
the keyboard. Note that this does not terminate existing ssh sessions; it will only prevent new ones
from being established.
Regenerate New Host Keys
ssh server host-key generate
Regenerate new host keys for the ssh server. This generates three keys: RSA for sshv1, RSA for
sshv2, and DSA for sshv2. Note that the system automatically generates the host keys on its first
boot, so this only needs to be done if a security breach is suspected and the keys need to be changed.
Manually Set the Host Key
ssh server host-key <type> private-key <key>
ssh server host-key <type> public-key <key>
Manually set the host-key (either private or public, but should be both if changing) of the specified
key type.
Enable or Disable the Listen Interface
[no] ssh server listen enable
Enable (or disable) the listen interface restricted list for ssh. If enabled and at least one non-DHCP
interface is specified in the list, the ssh connections are only accepted on those specified interfaces.
When disabled, ssh connections are accepted on any interface.
Modify the Listen List Interfaces
[no] ssh server listen interface <ifname>
Provides a mechanism to add and remove interfaces to the 'listen' list. If the interface is also running
as a DHCP client, it will be as if the interface was not added. If DHCP is later turned off on this
interface, it will be as if the interface was then added to the listen list.
Display SSH Server Details
show ssh server
Display information about the ssh server, including whether or not it is enabled, and the host keys.