D
D
Dmitry_S4S2015-04-22 16:46:02
linux
Dmitry_S4S, 2015-04-22 16:46:02

How to put a password in rsync?

Good afternoon
There is a command:
rsync -avz --exclude 'image' /var/www/vhosts/site.ru/test/ [email protected]:/destination
please tell me how to specify the password for the server 192.168.0.1

Answer the question

In order to leave comments, you need to log in

3 answer(s)
Z
zorruch, 2015-04-22
@zorruch

rsync works for you through ssh and authorization goes through it.
Accordingly, you can log in either by keys or by password (if there is no key) for the specified user

S
Sergey, 2015-04-22
@bk0011m

Do not be lazy to ask Google for
the first link

A
AVKor, 2015-04-22
@AVKor

Set up access by key and not be tormented by such questions.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question