96
DWS-1008 User’s Manual
D-Link Systems, Inc.
Configuring and Managing IP Interfaces and Services
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.
Changing SSH Timeouts
To change the SSH timeout values, use the following commands:
set ip ssh
idle-timeout
minutes
set ip ssh
absolute-timeout
minutes
To change the absolute timeout value to 30 minutes, type the following command:
DWS-1008#
set ip ssh absolute-timeout 30
success: absolute timeout set to 30 minutes
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 an 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
3 admin sessions
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
Summary of Contents for DWS-1008
Page 1: ......