4 ssh server configure example, 5 ssh monitor and debug command, 1 show ssh-user – Amer Networks SS2R48G4i V2 User Manual

Page 54: 2 show ssh-server, 3 debug ssh-server

Advertising
background image

SS2R24G4i/SS2R48G4i

43

the SSH client side,enable function of debug information in console

Command mode Admin Mode

Relative Command ssh-user

5.2.3.4 SSH Server Configure Example

Scenario 1

Requirement Enable SSH server on the switch, and run SSH2.0 client software such as Secure

shell client and putty on the terminal. Log on the switch by using the username and password from the
client.

Configure the IP address, add SSH user and enable SSH service on the switch. SSH2.0 client can

log on the switch by using the username and password to configure the switch.
Switch(Config)#interface vlan 1
Switch(Config-Vlan-1)#ip address 100.100.100.200 255.255.255.0
Switch(Config-Vlan-1)#exit
Switch(Config)#ssh-user test password 0 test
Switch(Config)#ssh-server enable

5.2.3.5 SSH Monitor and Debug Command

5.2.3.5.1 show ssh-user

Command show ssh-user

Function

To display all the configured SSH usernames.

Command Mode

Admin Mode.

Relative Command ssh-user

5.2.3.5.2 show ssh-server

Command show ssh-server

Function

To display the state of SSH server( open or closed) and the information of users who has

already logged in.

Command Mode

Admin Mode.

Relative Command ssh-server enableno ssh-server enable

5.2.3.5.3 debug ssh-server

Command debug ssh-server

no debug ssh-server

Function

To enable the debug information of SSH server. The “no debug ssh-server ” command is

used to disable the debug information of SSH server.

Default Setting

By default, the debug information is disabled.

Command Mode

Admin Mode.

Advertising