1-35
Description
Use the
ssh user service-type
command to configure service type for a user so that the user can
access specified service(s).
Use the
undo ssh user service-type
command to remove the service type specified for an SSH user.
The default service type for an SSH user is
stelnet
.
Related commands:
display ssh user-information
.
Examples
# Specify that user kk can access SFTP service.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] ssh user kk service-type sftp
# Display the SSH user information.
[Sysname] display ssh user-information kk
Username Authentication-type User-public-key-name Service-type
kk publickey null sftp
ssh2
Syntax
ssh2
{
host-ip
|
host-name
} [
port-num
] [
identity-key
{
dsa
|
rsa
} |
prefer_kex
{
dh_group1
|
dh_exchange_group
} |
prefer_ctos_cipher
{
3des
|
des
|
aes128
} |
prefer_stoc_cipher
{
3des
|
des
|
aes128
} |
prefer_ctos_hmac
{
sha1
|
sha1_96
|
md5
|
md5_96
} |
prefer_stoc_hmac
{
sha1
|
sha1_96
|
md5
|
md5_96
} ] *
View
System view
Parameters
host-ip
: Server IP address.
host-name
: Server name, a string of 1 to 20 characters.
port-num
: Server port number. It is in the range of 0 to 65,535 and defaults to 22.
identity-key
: Specifies the algorithm for publickey authentication, either
dsa
or
rsa
. The default is
rsa
.
prefer_kex
: Specifies the preferred key exchange algorithm. You can select one from the following two
algorithms.
z
dh_group1
: Diffie-Hellman-group1-sha1 key exchange algorithm. It is the default algorithm.
z
dh_exchange_group
: Diffie-Hellman-group-exchange-sha1 key exchange algorithm.
prefer_ctos_cipher
: Specifies the preferred client-to-server encryption algorithm, which is AES128 by
default.
prefer_stoc_cipher
: Specifies the preferred server-to-client encryption algorithm, which is AES128 by
default.
Содержание 5500-EI PWR
Страница 43: ...2 6...
Страница 76: ...1 17...
Страница 228: ...ii stp transmit limit 1 44 vlan mapping modulo 1 45 vlan vpn tunnel 1 46...
Страница 477: ...5 24 Sysname vlan 2 Sysname vlan2 service type multicast...
Страница 503: ...2 3 System View return to User View with Ctrl Z Sysname dot1x url http 192 168 19 23...
Страница 519: ...iii...
Страница 597: ...2 2 security policy server 192 168 0 1 user name format without domain...
Страница 648: ...1 9 Examples Clear static ARP entries Sysname reset arp static...
Страница 663: ...4 3 Sysname resilient arp interface vlan interface 2...
Страница 767: ...1 28 From 12 00 Jan 1 2008 to 12 00 Jun 1 2008...
Страница 1111: ...ii xmodem get 3 18...
Страница 1314: ...A 44 Z...