show ssh state

Use this command to display the current status of SSH on the device.

Syntax

show ssh state

Parameters

None.

Defaults

None.

Mode

All command modes.

Example

This example shows how to display SSH state and host key type for the device:

System(rw)->show ssh state
SSH Server:
 State: Enabled
 Host key type: RSA
Allowed Ciphers List (default):
  aes128-ctr,aes192-ctr,aes256-ctr,aes128-cbc,aes192-cbc,aes256-cbc,3des-cbc,
  blowfish-cbc,cast128-cbc,
  rijndael-cbc@lysator.liu.se
 Allowed MACs List (default):
  hmac-sha1-etm@openssh.com,hmac-md5-etm@openssh.com,
  hmac-ripemd160-etm@openssh.com,hmac-sha1-96-etm@openssh.com,
  hmac-md5-96-etm@openssh.com,hmac-sha1,hmac-md5,hmac-ripemd160,
  hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96
 Allowed Authentication Methods:
  password: enabled
  pubkey:   enabled
 PKI Trusted CA List: JITC_CA
 PKI Authorized Cert List:
 Authorized User Public Keys:
  Username         Type Bits Public Key
  ---------------- ---- ---- ---------------------------------------------------
  admin            RSA  2048 AAAAB3NzaC1yc2EAAAADAQABAAABAQ...1pDucBQyCxXHAVFWTB
  locoJoe          RSA  2048 AAAAB3NzaC1yc2EAAAADAQABAAABAQ...1pDucBQyCxXHAVFWTB
  newUser          RSA  2048 AAAAB3NzaC1yc2EAAAADAQABAAABAQ...+M7MVJ40M/bXyNmEQ/
  rw               RSA  2048 AAAAB3NzaC1yc2EAAAADAQABAAABAQ...+M7MVJ40M/bXyNmEQ/
SSH Client:
 Client alive interval: 10
 Client alive count: 0
System(rw)->