10-7
[Sysname] ssh server rekey-interval 3
ssh user
Syntax
ssh user username service-type stelnet
authentication-type
{
password
| {
any
|
password-publickey
|
publickey
}
assign publickey
keyname
}
ssh user username service-type
{
all
|
sftp
}
authentication-type
{
password
| {
any
|
password-publickey
|
publickey
}
assign publickey
keyname
work-directory
directory-name
}
undo ssh user
username
View
System view
Default Level
2: System level
Parameters
username
: SSH username, a case-sensitive string of 1 to 80 characters.
service-type
: Specifies the service type of an SSH user, which can be one of the following:
z
all
: Specifies both secure Telnet and secure FTP.
z
sftp
: Specifies the service type as secure FTP.
z
stelnet
: Specifies the service type of secure Telnet.
authentication-type
: Specifies the authentication method of an SSH user, which can be one the
following:
z
password
: Performs password authentication.
z
any
: Performs either password authentication or publickey authentication.
z
password
-
publickey
: Specifies that SSH2 clients perform both password authentication and
publickey authentication and that SSH1 clients perform either type of authentication.
z
publickey
: Performs publickey authentication.
assign publickey keyname
: Assigns an existing public key to an SSH user.
keyname
indicates the
name of the client public key and is a string of 1 to 64 characters.
work-directory directory-name
: Specifies the working folder for an SFTP user.
directory-name
indicates the name of the working folder and is a string of 1 to 135 characters.
Description
Use the
ssh user
command to create an SSH user and specify the service type and authentication
method.
Use the
undo ssh user
command to delete an SSH user.
Note that:
z
For a publickey authentication user, you must configure the username and the public key on the
device. For a password authentication user, you can configure the account information on either
the device or the remote authentication server such as a RADIUS server.
z
If you use the
ssh user
command to configure a public key for a user who has already had a
public key, the new one overwrites the old one.
Summary of Contents for E4510-48G
Page 109: ...2 18 Sysname interface bridge aggregation 1 Sysname Bridge Aggregation1 shutdown ...
Page 309: ...6 4 Sysname interface vlan interface 1 Sysname Vlan interface1 ip address dhcp alloc ...
Page 324: ...8 3 Sysname interface vlan interface 1 Sysname Vlan interface1 ip address bootp alloc ...
Page 530: ...2 5 Sysname mvlan 100 subvlan 10 to 15 ...
Page 739: ...8 15 Sysname system view Sysname port security trap addresslearned ...
Page 819: ...13 11 Sysname system view Sysname public key peer key2 import sshkey key pub ...
Page 914: ...5 17 Sysname reset oam ...
Page 1064: ...5 30 Slot 2 Set next configuration file successfully ...
Page 1325: ...21 13 Examples Redirect to member 2 Sysname irf switch to 2 Sysname Slave 2 ...