162 Configuring and managing IP interfaces and services
NN47250-500 (Version 03.01)

Adding an SSH user

To log in with SSH, a user must supply a valid username and password. To add a username and password to the local
database, use the following command:
set user username password password
Optionally, you also can configure WSS Software either to locally authenticate the user or to use a RADIUS server to
authenticate the user. Use the following command:
set authentication admin {user-wildcard} method1 [method2] [method3] [method4]
To add administrative user mxadmin with password letmein, and use RADIUS server group sg1 to authenticate the user,
type the following commands:
WSS# set user wssadmin password letmein
success: User wssadmin created
WSS# set authentication admin wssadmin sg1
success: change accepted
(For more information, see “Adding and clearing local users for Administrative Access” on page 84.)

Changing the SSH service port number

To change the SSH port the WSS listens on for SSH connections, use the following command:
set ip ssh port port-num

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.
To display the SSH server sessions on a WSS, type the following command:
WSS# show sessions admin
Tty Username Time (s) Type
Caution! If you change the SSH port number from an SSH session, WSS Software
immediately ends the session. To open a new management session, you must configure
the SSH client to use the new SSH port number.
Note. If you type the clear sessions admin ssh command from within an SSH session,
the session ends as soon as you press Enter.