D
D
Danila2016-09-17 17:33:38
Debian
Danila, 2016-09-17 17:33:38

Why can't I transfer a folder from shared hosting to a VDS server?

Hello! I'm trying to copy a folder from shared hosting to VDS with the following command

tar cf - old | ssh -l username ***.***.***.***  "cd /var/www/dir/; tar xvpf -

But bash error appears: warning: setlocale: LC_ALL: cannot change locale (ru_RU.UTF-8) and then
Host key verification failed.

What could be the reason?
UPD: The first problem was solved by generating the ru_RU.UTF-8 locale

Answer the question

In order to leave comments, you need to log in

2 answer(s)
Y
younghacker, 2016-09-17
@younghacker

ssh -vvv [email protected]
will show detailed information about the progress of the connection
It may be more convenient to use scp for copying

D
Dimonchik, 2016-09-17
@dimonchik2013

askubuntu.com/questions/45679/ssh-connection-probl...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question