R
R
Robin Alikhanov2021-06-29 10:01:08
linux
Robin Alikhanov, 2021-06-29 10:01:08

Host key verification failed?

Guys faced such problem.
Vue js project. I can't deploy to the server because I work on Windows.
The project is deployed through the Deployer program in it in the deploy.php file of the task.
Installed Rsync, etc. programs, specified environment variables. created via putty generate keys.
It still gives an error at the beginning gave an error
==
Could not create directory '/home/rihard/.ssh': No such file or directory
==
created folders inside rsync and then through putty keys

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey Barbolin, 2021-06-29
@robin1985

A blunder and in production) It's not clear where-where-created-copied)
You need to
- generate a pair of keys (private and public).
- put the public key on the server in /home/${USER}/.ssh/authorized_keys
Flood try to log in via putty (ssh) using the private key, if everything is OK, then configure rsync.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question