673
Parameters
session: Displays SSH server session information.
status: Displays the SSH server status.
slot slot-number: Specifies a card by its slot number. If you do not specify a card, this command
displays SSH server session information for the active MPU. (Distributed devices in standalone
mode.)
slot slot-number: Specifies an IRF member device by its member ID. If you do not specify a member
device, this command displays SSH server session information for the master device. (Centralized
devices in IRF mode.)
chassis chassis-number slot slot-number: Specifies a card on an IRF member device. The
chassis-number argument represents the member ID of the IRF member device. The slot-number
argument represents the slot number of the card. If you do not specify a card, this command displays
SSH server session information for the global active MPU. (Distributed devices in IRF mode.)
Examples
# Display the SSH server status.
<Sysname> display ssh server status
Stelnet server: Disable
SSH version : 2.0
SSH authentication-timeout : 60 second(s)
SSH server key generating interval : 0 hour(s)
SSH authentication retries : 3 time(s)
SFTP server: Disable
SFTP server Idle-Timeout: 10 minute(s)
NETCONF server: Disable
SCP server: Disable
Table 99 Command output
Stelnet server Whether the Stelnet server is enabled.
SSH version
SSH protocol version.
When the SSH supports SSH1, the protocol version is 1.99.
Otherwise, the protocol version is 2.
SSH authentication-timeout Authentication timeout timer.
SSH server key generating interval Minimum interval for updating the RSA server key pair.
SSH authentication retries Maximum number of authentication attempts for SSH users.
SFTP server Whether the SFTP server is enabled.
SFTP server Idle-Timeout SFTP connection idle timeout timer.
NETCONF server Whether NETCONF over SSH is enabled.
SCP server Whether the SCP server is enabled.
# Display the SSH server sessions.
<Sysname> display ssh server session
UserPid SessID Ver Encrypt State Retries Serv Username Idx
184 0 2.0 aes128-cbc Established 1 Stelnet abc@123