Buenos días,
Me conecto a la máquina remota con la clave rsa y el usuario root. Si hago un rync -avz root@cliente:/home /mnt por ejemplo lo hace bien sin pedir ni usuario ni contraseña.
Sin embargo, via web (desde la aplicación) me da error de permiso denegado. En la url del cliente tengo puesto root@ip.
Estoy atascado y no se donde mirar.
un saludo.
Aqui dejo el log:
vip homesgerentea2014-12-17 17:14:02ERRORCommand "/usr/bin/rsnapshot" -c "/tmp/rsnapshot.4_8.cfg" sync 2>&1 failed. Diagnostic information follows: Permission denied (publickey,password). rsync: connection unexpectedly closed (0 bytes received so far) [Receiver] rsync error: error in rsync protocol data stream (code 12) at io.c(605) [Receiver=3.0.9] ---------------------------------------------------------------------------- rsnapshot encountered an error! The program was invoked with these options: /usr/bin/rsnapshot -c /tmp/rsnapshot.4_8.cfg sync ---------------------------------------------------------------------------- ERROR: /usr/bin/rsync returned 12 while processing ro...@1X.X.X.3:/home/gerenteavip homesgerentea2014-12-17 17:14:02ERRORClient "4", Job "8" error.vip homesgerentea2014-12-17 17:14:02ERRORFAIL