252
algorithm by using the
identity-key
keyword to get the correct data for the local private key. By default,
the public key algorithm is DSA.
Examples
# Log in to remote SSH2.0 server 10.214.50.51, using the following algorithms:
•
Preferred key exchange algorithm: DH-group1
•
Preferred encryption algorithm from server to client: AES128
•
Preferred HMAC algorithm from client to server: MD5
•
Preferred HMAC algorithm from server to client: SHA1-96
<Sysname> ssh2 10.214.50.51 prefer-kex dh-group1 prefer-stoc-cipher aes128
prefer-ctos-hmac md5 prefer-stoc-hmac sha1-96
ssh2 ipv6
Syntax
In non-FIPS mode:
ssh2
ipv6
server
[
port-number
] [
identity-key
{
dsa
|
rsa
} |
prefer-ctos-cipher
{
3des
|
aes128
|
des
}
|
prefer-ctos-hmac
{
md5
|
md5-96
|
sha1
|
sha1-96
} |
prefer-kex
{
dh-group-exchange
|
dh-group1
|
dh-group14
} |
prefer-stoc-cipher
{
3des
|
aes128
|
des
} |
prefer-stoc-hmac
{
md5
|
md5-96
|
sha1
|
sha1-96
} ] *
In FIPS mode:
ssh2
ipv6
server
[
port-number
] [
identity-key
rsa
|
prefer-ctos-cipher
{
aes128
|
aes256
} |
prefer-ctos-hmac
{
sha1
|
sha1-96
} |
prefer-kex dh-group14
|
prefer-stoc-cipher
{
aes128
|
aes256
}
|
prefer-stoc-hmac
{
sha1
|
sha1-96
} ] *
View
User view
Default level
0: Visit level
Parameters
server
: IPv6 address or host name of the server, a case-insensitive string of 1 to 46 characters.
port
-
number
: Port number of the server, in the range 0 to 65535. The default is 22.
identity-key
: Specifies the algorithm for publickey authentication, either
dsa
or
rsa
. The default is
dsa
.
prefer-ctos-cipher
: Preferred encryption algorithm from client to server, defaulted to
aes128
.
•
3des
: Encryption algorithm 3des-cbc.
•
aes128
: Encryption algorithm aes128-cbc.
•
aes256
: Encryption algorithm aes256-cbc.
•
des
: Encryption algorithm des-cbc.
prefer-ctos-hmac
: Preferred HMAC algorithm from client to server, defaulted to
sha1-96
.
•
md5
: HMAC algorithm hmac-md5.
•
md5-96
: HMAC algorithm hmac-md5-96.
•
sha1
: HMAC algorithm hmac-sha1.
•
sha1-96
: HMAC algorithm hmac-sha1-96.