348
Terminating the connection with the SFTP server
Terminate the connection with the
SFTP server and return to user
view.
• bye
• exit
• quit
Available in SFTP client view.
These three commands have the
same function.
Configuring the device as an SCP client
This section describes how to configure the device as an SCP client to establish a connection with an
SCP server and transfer files with the server.
Establishing a connection to an SCP server
When you try to access an SCP server, the device must use the server's host public key to
authenticate the server. If the server's host public key is not configured on the device, the device will
notify you to confirm whether to continue with the access.
• If you choose to continue, the device accesses the server and downloads the server's host
public key.
• If you choose to not continue, the connection cannot be established.
As a best practice, configure the server's host public key on the device in an insecure network.
To transfer files with an SCP server in Release 1111:
server, and transfer files
with the server.
• In non-FIPS mode, connect to the IPv4 SCP
server, and transfer files with this server:
scp server [ port-number ] [ vpn-instance
vpn-instance-name ] { put | get } source-file-name
[ destination-file-name ] [ identity-key { dsa |
rsa } | prefer-compress zlib |
prefer-ctos-cipher { 3des | aes128 | aes256 |
des } | prefer-ctos-hmac { md5 | md5-96 | sha1 |
sha1-96 } | prefer-kex { dh-group-exchange |
dh-group1 | dh-group14 } | prefer-stoc-cipher
{ 3des | aes128 | aes256 | des } |
prefer-stoc-hmac { md5 | md5-96 | sha1 |
sha1-96 } ] * [ publickey keyname | source
{ interface interface-type interface-number | ip
ip-address } ] *
• In FIPS mode, connect to the IPv4
and transfer files with this server:
scp server [ port-number ] [ vpn-instance
vpn-instance-name ] { put | get } source-file-name
[ destination-file-name ] [ identity-key rsa |
prefer-compress zlib | 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
[ publickey keyname | source { interface
interface-type interface-number | ip ip-address } ]
*
Available in user view.