N
N
Netscout2016-06-17 16:59:07
linux
Netscout, 2016-06-17 16:59:07

Why does the sshpass command not work - access denied?

Hello !
Faced a problem...
I can't copy data from local server to remote:
rsync --rsh="sshpass -p password ssh -l root" /backup/1 [email protected]:/temp
gives: Permission denied, please try again.
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at io.c(600) [sender=3.0.6
] certificates, etc. do not fit.
OS Centos 6.7
Tell me how to win?
Thank you !

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question