In some cases, the URI is specified as an IP address rather than a hostname. In this case, the iPAddress subjectAltName must be present in the certificate and must exactly match the IP in the URI.
mysqldump -uname -ppass db | ssh -C user@host 'cat > /path/db.sql'
mysqldump -uname -ppass db | gzip -c | ssh login@host 'cat > /path/db.gz'
mysqldump -uname -ppass db | gzip -c | ncftpput -u login -p pass -c host /db.gz