Planet Networking & Communication WGSW-50040 Configuration Manual page 42

50-port 10/100/1000mbps with 4 shared sfp managed gigabit switch
Table of Contents

Advertisement

4.2.2.2 SSH Server Configuration Task List
SSH Server Configuration
Global Mode
ssh-server enable
no ssh-server enable
ssh-user <user-name> password {0 | 7}
<password>
no ssh-user <user-name>
ssh-server timeout <timeout>
no ssh-server timeout
ssh-server authentication-retires
<authentication-retires>
no ssh-server authentication-retries
ssh-server host-key create rsa modulus
<moduls>
Admin Mode
terminal monitor
terminal no monitor
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
Command
Explanation
Enable SSH function on the switch; the "no
ssh-server enable" command disables SSH
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.
Configure timeout value for SSH authentication;
the "no ssh-server timeout" command restores
the default timeout value for SSH authentication.
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.
Generate the new RSA host key on the SSH
server.
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-4

Advertisement

Table of Contents
loading

Table of Contents