2 ssh server configuration task list, 3 typical ssh server configuration – PLANET XGS3-24040 User Manual
Page 53

Chapter 4 Basic Switch Configuration
4-4
4.2.2.2 SSH Server Configuration Task List
SSH Server Configuration
Command
Explanation
Global Mode
ssh-server enable
no ssh-server enable
Enable SSH function on the switch; the “no
ssh-server enable” command disables SSH
function.
ssh-user
no ssh-user
Configure the username and password of SSH
client software for logging on the switch; the “no
ssh-user
username.
ssh-server timeout
no ssh-server timeout
Configure timeout value for SSH authentication;
the “no ssh-server timeout” command restores
the default timeout value for SSH authentication.
ssh-server authentication-retires
no ssh-server authentication-retries
Configure the number of times for retrying SSH
authentication; the “no ssh-server
authentication-retries” command restores the
default number of times for retrying SSH
authentication.
ssh-server host-key create rsa modulus
Generate the new RSA host key on the SSH
server.
Admin Mode
terminal monitor
terminal no monitor
Display SSH debug information on the SSH client
side; the “no terminal monitor” command stops
displaying SSH debug information on the SSH
client side.
4.2.2.3 Typical SSH Server Configuration
Example1:
Requirement: Enable SSH server on the switch, and run SSH2.0 client software such as Secure shell client or
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)#ssh-server enable
Switch(config)#interface vlan 1
Switch(Config-if-Vlan1)#ip address 100.100.100.200 255.255.255.0
Switch(Config-if-Vlan1)#exit
Switch(config)#ssh-user test password 0 test