FileTransferProtocol
FileTransferProtocol
Protocol to transfer backup file to remote server
JSON Example
{
"authentication_scheme": {
"identity_file": "string",
"password": "string",
"scheme_name": "string",
"username": "string"
},
"protocol_name": "string",
"ssh_fingerprint": "string"
}
authentication_scheme
Required
Remote server authentication details
string
protocol_name
Required
Constraints:
default: sftp
Protocol name
string
As /^SHA256:.*$/
ssh_fingerprint
Required
The expected SSH fingerprint of the server. If the server's fingerprint does not match this fingerprint, the connection will be terminated.
Only ECDSA fingerprints hashed with SHA256 are supported. To obtain the host's ssh fingerprint, you should connect via some method other than SSH to obtain this information. You can use one of these commands to view the key's fingerprint:
- ssh-keygen -l -E sha256 -f ssh_host_ecdsa_key.pub
- awk '{print $2}' ssh_host_ecdsa_key.pub | base64 -d | sha256sum -b | sed 's/ .*$//' | xxd -r -p | base64 | sed 's/.//44g' | awk '{print "SHA256:"$1}'