16 ssh-user, 17 show ssh-server, 18 show ssh-user – PLANET XGS3-24040 User Manual
Page 64

XGS3 Command Guide
1-64
Switch(config)#ssh-server timeout 240
1.2.16 ssh-user
Command:
ssh-user <username> password {0 | 7} <password>
no ssh-user <username>
Function:
Configure the username and password of SSH client software for logging on the switch; the “no ssh-user
<user-name>“ command deletes the username.
Parameter:
<username> is SSH client username. It can’t exceed 16 characters; <password> is SSH client password. It can’t
exceed 32 characters; 0 | 7 stand for unencrypted password and encrypted password.
Command mode:
Global Mode
Default:
There are no SSH username and password by default.
Usage Guide:
This command is used to configure the authorized SSH client. Any unauthorized SSH clients can’t log on and
configure the switch.
Example:
Set a SSH client which has “switch” as username and “switch” as password.
Switch(config)#ssh-user switch password 0 switch
1.2.17 show ssh-server
Command:
show ssh-server
Function:
Display SSH state and users which log on currently.
Command mode:
Admin Mode.
Example:
Switch#show ssh-server
ssh server is enabled
ssh-server timeout 180s
ssh-server authentication-retries 3
ssh-server max-connection number 6
ssh-server login user number 2
1.2.18 show ssh-user
Command:
show ssh-user