display ssh server
Parameters
Parameter | Description | Value |
---|---|---|
status | Displays the global configuration on the SSH server. | - |
session | Displays the current session connection information on the SSH server. | - |
Usage Guidelines
After configuring the SSH attributes, you can run this command to view the configuration or session connection information on the SSH server to verify that the SSH connection has been established.
Example
# Display the global configuration on the SSH server.
<AC6605> display ssh server status
SSH version :2.0
SSH connection timeout :120 seconds
SSH server key generating interval :0 hours
SSH Authentication retries :3 times
SFTP Server :Enable
Stelnet server :Enable
Item |
Description |
---|---|
SSH version |
SSH protocol version. The value can be 1.99 or 2.0. |
SSH connection timeout |
SSH connection timeout interval. The value ranges from 60 to 120. The default value is 60. The unit is second. Run the ssh server timeout command to set this item. |
SSH server key generating interval |
Key updating period of the SSH server. The default value is 0. The unit is hour. Run the ssh server rekey-interval command to set this item. |
SSH Authentication retries |
Number of times for retrying SSH authentication. The default value is 3. Run the ssh server authentication-retries command to set this item. |
SFTP Server |
Status of the SFTP server. By default, it is disabled. Run the sftp server enable command to set this item. |
Stelnet server |
Status of the STelnet server. By default, it is disabled. Run the stelnet server enable command to set this item. |
# Display the current session connection information on the SSH server.
<AC6605> display ssh server session
--------------------------------------------------------------------
Conn Ver Encry State Auth-type Username
--------------------------------------------------------------------
VTY 0 2.0 AES128_CBC run password john
--------------------------------------------------------------------
Item |
Description |
---|---|
Conn |
VTY connection. |
Ver |
Version number. |
Encry |
Encryption mode: 3DES_CBC, AES128_CBC, AES256_CBC, AES128_CTR, and AES256_CTR |
State |
Session status on the SSH server. |
Auth-type |
Authentication mode for an SSH user. The options are as follows:
Run the ssh user authentication-type command to set this item. |
Username |
User name for SSH server authentication. |