curl: (51) SSL peer certificate or SSH remote key was not OK

curl: (51) SSL peer certificate or SSH remote key was not OK

curl scp://user:pass@adress.ru/home/user/test.txt

curl: (51) SSL peer certificate or SSH remote key was not OK

Не одобрен сенртификат SSl

решение:

/usr/bin/ssh user@adress.ru

The authenticity of host 'adress.ru (1.2.3.4)' can't be established.
RSA key fingerprint is 11:ff:22:ff:33:ff:44:ff:55:ff:66:ff:77:ff:88:ff.
No matching host key fingerprint found in DNS.
Are you sure you want to continue connecting (yes/no)? yes