Command Reference Guide

3Com Router 3000 Ethernet Family
Command Reference Guide
Error! Reference source not found.Error! Re
f
erence source not found.
3Com Corporation
9-26
View
System view
Parameter
username: SSH user name; it must be consistent with the user name defined in AAA if
password authentication is adopted. If RSA authentication is adopted, the value of this
argument is a local SSH user name and needs not to be defined in AAA.
Description
Use the ssh user command to create an SSH user.
Use the undo ssh user command to delete an SSH user.
All SSH users need authentication. Before creating an SSH user with the ssh user
command, you must specify a default authentication mode with the ssh
authentication-type default command.
If the default authentication mode for SSH users is password and local AAA
authentication is adopted, you are not necessarily use the ssh user command to
create an SSH user. Instead, you can use the local-user command to create a user
name and its password and then specify the service type for the user to SSH.
Alternatively, you may create an SSH user and specify an authentication mode for it by
using the ssh user authentication-type command.
Related command: ssh authentication-type default.
Example
# Create an SSH user, setting its name to tom.
[3com] ssh user tom
9.2.21 ssh user assign
Syntax
ssh user username assign rsa-key keyname
undo ssh user username assign rsa-key
View
System view
Parameter
username: username: SSH user name; it must be consistent with the user name
defined in AAA if password authentication is adopted. If RSA authentication is adopted,
the value of this argument is a local SSH user name and needs not to be defined in
AAA.