D
D
dmitriy2014-09-22 20:00:33
PHP
dmitriy, 2014-09-22 20:00:33

How to properly configure rsync for autodeploy?

I use www.codeship.io to deploy the project
. I upload it via lftp. Deploy lasts 25 minutes, for a small project. Judging by logs there is a pass on all files.
I suspect there is a faster way with rsync. The documentation shows the following connection:
rsync -avz -e "ssh" ~/clone/ [email protected]:/path/on/server/
But what about the password, I suspect that you need to generate a public key, but how where??
From access there is ssh password and login.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
Philipp, 2014-09-22
@zoonman

habrahabr.ru/post/122445
rus-linux.net/MyLDP/sec/generiruem-kluchi-ssh.html

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question