[SOLVED] Pve_zsync - Permission denied (publickey,password).

GoProg

Member
Aug 20, 2019
7
0
6
44
Hi

Im trying to copy vm to another server using pve_zsync:

pve-zsync sync --source 101 --dest HostIP:store --verbose --maxsnap 2 --name 101

and get error: root@HostIP: Permission denied (publickey,password).

pve-zsync version 1.7-4
 
I assume the 2 hosts are not in a PVE-cluster.

pve-zsync needs to have ssh-publickey authentication set up between the source and the target.
add the public-key of the source to '/root/.ssh/authorized_keys'

I hope this helps!
 
  • Like
Reactions: GoProg
I assume the 2 hosts are not in a PVE-cluster.

pve-zsync needs to have ssh-publickey authentication set up between the source and the target.
add the public-key of the source to '/root/.ssh/authorized_keys'

I hope this helps!
yes, it`s working for me
 
Glad it worked out!
Please mark the thread as 'SOLVED' - that way others know what to expect.

Thanks!
 
  • Like
Reactions: GoProg