U
U
unixwz2017-04-25 17:47:45
linux
unixwz, 2017-04-25 17:47:45

Why does Vagrant require a password when syncing?

Hello, I have a problem syncing in Vagrant using rsync. For example, if I am editing a file on the host, then each time I have to enter the password in the terminal in order for the file to be synchronized.

[email protected]:~/Vagrant/nominato_ubuntu_machine$ vagrant rsync-auto
==> default: Doing an initial rsync...
==> default: Rsyncing folder: /home/user/Projects/nominato/ => /home/ubuntu
ubuntu @127.0.0.1's password:
==> default: Watching: /home/user/Projects/nominato
==> default: Rsyncing folder: /home/user/Projects/nominato/ => /home/ubuntu
[email protected] 0.1's password:

How can I make it so that no password is required and everything is synchronized on the fly?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey Burov, 2017-04-25
@BuriK666

Add ssh key?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question