Command Reference Guide
Access Commands
CLI Command Reference
September 2014 Page 70
HP Moonshot Switch Module CLI Command Reference
crypto key generate dsa
Use this command to generate a DSA key pair for SSH. The new key files will overwrite any existing generated
or downloaded DSA key files.
no crypto key generate dsa
Use this command to delete the DSA key files from the device.
Access Commands
Use the commands in this section to close remote connections or to view information about connections to
the system.
disconnect
Use the disconnect command to close Telnet or SSH sessions. Use all to close all active sessions, or use
session-id to specify the session ID to close. To view the possible values for session-id, use the show
loginsession command.
show loginsession
This command displays current Telnet, SSH and serial port connections to the switch. This command displays
truncated user names. Use the
show loginsession long command to display the complete usernames.
Format
crypto key generate dsa
Mode Global Config
Format
no crypto key generate dsa
Mode Global Config
Format
disconnect {session_id | all}
Mode Privileged EXEC
Format
show loginsession
Mode Privileged EXEC
Term Definition
ID Login Session ID.
User Name The name the user entered to log on to the system.
Connection From IP address of the remote client machine or EIA-232 for the serial port connection.