
D-Link DWS-1008 User Manual
1
To add administrative user admin with password letmein, and use RADIUS server group sg1 to
authenticate the user, type the following commands:
DWS-1008#
set user mxadmin password letmein
success: User mxadmin created
DWS-1008#
set authentication admin mxadmin sg1
success: change accepted
Changing the SSH Service Port Number
To change the SSH port the switch listens on for SSH connections, use the following command:
set ip ssh port
port-num
Caution: If you change the SSH port number from an SSH session, MSS immediately ends the session.
To open a new management session, you must configure the SSH client to use the new SSH port
number.
Managing SSH Server Sessions
Use the following commands to manage SSH server sessions:
show sessions admin
clear sessions admin ssh
[session-id]
These commands display and clear SSH server sessions.
Note: If you type the clear sessions admin ssh command from within an SSH session, the session ends
as soon as you press Enter.
To display the SSH server sessions on a switch, type the following command:
DWS-1008#
show sessions admin
Tty
Username
Time(s)
Type
-------------------------------------------------------------------
tty0
3644
Console
tty2
tech
6
Telnet
tty3
sshadmin
381
SSH
To clear all SSH server sessions, type the following command:
DWS-1008#
clear sessions admin ssh
This will terminate manager sessions, do you wish to continue? (y|n) [n]y
Cleared ssh session on tty3
Caution: If you change the SSH port number from an SSH session, MSS immediately ends the session.
To open a new management session, you must configure the SSH client to use the new SSH port
number.
Summary of Contents for DWS-1008
Page 1: ......