Copy to and from SFTP
This table shows the REST APIs to copy a file or a backup snapshot from the SFTP server (the source) to the cloud environment (the target), and to copy a file or a backup snapshot from the cloud environment (the source) to the SFTP server (the target).
These APIs support only SFTP servers running on port 22.
Table 2-164 Copy To and From SFTP
| Task | Request | REST Resource |
|---|---|---|
| Copy to SFTP (v2) | POST | /interop/rest/v2/config/services/copytosftp |
| Copy from SFTP (v2) | POST |
/interop/rest/v2/config/services/copyfromsftp |
Note:
These APIs support the following set of cryptographic algorithms. The SFTP servers must have at least one algorithm listed in the table in each required category (Cipher, MAC, Key Exchange, and Host Key) for the APIs to work successfully.
Table 2-165 Supported Cryptographic Algorithms
| Cryptographic Algorithm Type | Supported Algorithms |
|---|---|
| Ciphers | chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr,
aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com,
aes128-cbc, aes192-cbc, aes256-cbc |
| MACs | hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com,
hmac-sha1-etm@openssh.com, hmac-sha2-256, hmac-sha2-512,
hmac-sha1 |
| Key Exchange Algorithms | sntrup761x25519-sha512, sntrup761x25519-sha512@openssh.com,
curve25519-sha256, curve25519-sha256@libssh.org, curve448-sha512,
ecdh-sha2-nistp521, ecdh-sha2-nistp384, ecdh-sha2-nistp256,
diffie-hellman-group-exchange-sha256, diffie-hellman-group18-sha512,
diffie-hellman-group17-sha512, diffie-hellman-group16-sha512,
diffie-hellman-group15-sha512,
diffie-hellman-group14-sha256 |
| Host Key Algorithms | ecdsa-sha2-nistp256-cert-v01@openssh.com,
ecdsa-sha2-nistp384-cert-v01@openssh.com,
ecdsa-sha2-nistp521-cert-v01@openssh.com,
ssh-ed25519-cert-v01@openssh.com, rsa-sha2-512-cert-v01@openssh.com,
rsa-sha2-256-cert-v01@openssh.com, ecdsa-sha2-nistp256,
ecdsa-sha2-nistp384, ecdsa-sha2-nistp521, ssh-ed25519,
sk-ecdsa-sha2-nistp256@openssh.com, sk-ssh-ed25519@openssh.com,
rsa-sha2-512,rsa-sha2-256, ssh-rsa |