dh-group14: Specifies the key exchange algorithm diffie-hellman-group14-sha1.
•
prefer-stoc-cipher: Specifies the preferred encryption algorithm from server to client, defaulted to
aes128.
prefer-stoc-hmac: Specifies the preferred HMAC algorithm from server to client, defaulted to sha1-96.
Description
Use scp to transfer files with an SCP server.
When the server adopts publickey authentication to authenticate a client, the client needs to get the local
private key for digital signature. As the publickey authentication uses either RSA or DSA algorithm, you
must specify an algorithm for the client (by using the identity-key keyword) in order to get the correct data
for the local private key.
Examples
# Connect to the SCP server 192.168.0.1, download the file remote.bin from the SCP server, save it locally
and change the file name to local.bin
<Sysname> scp 192.168.0.1 get remote.bin local.bin
232