268
When the client's authentication method is publickey, the client needs to get the local private key for
validation. As the publickey authentication includes RSA and DSA algorithms, you must specify an
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
# Connect to server 2:5::8:9, 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> sftp ipv6 2:5::8:9 prefer-kex dh-group1 prefer-stoc-cipher aes128
prefer-ctos-hmac md5 prefer-stoc-hmac sha1-96
Input Username: