FileTransferProtocol
FileTransferProtocol
Protocol to transfer backup file to remote server
JSON Example
{
"protocol_name": "string",
"ssh_fingerprint": "string",
"authentication_scheme": {
"username": "string",
"scheme_name": "string",
"password": "string"
}
}
string
protocol_name
Required
Protocol name
string
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}'