Using CWRsync with SSH via batch file

2 posts / 0 new
Last post
chris74
Offline
Last seen: 5 years 5 months ago
Joined: 29.04.2015 - 14:23
Using CWRsync with SSH via batch file

Hi

I've got CWRsync working perfectly and am able to backup my server using ssh  manually. however when run from a batch file it always asks for a password making it impossible to run automatically can anyone suggest a workround to avoind the problem

 

Thanks

itefix
Online
Last seen: 3 min 31 sec ago
Joined: 01.05.2008 - 21:33
You need to use public keys

You need to use public key authentication with null passphrase to be able to automate the whole operation. Have a look at our FAQ https://www.itefix.net/content/i-want-set-ssh-communication-without-passwords-0 for a recipe.