Rodrigo Real writes:

> I am having a problem with a host that must be backed-up with
> backuppc. This host runs an ssh server on the port 222, so I changed
> the variable $Conf{RsyncClientCmd} to meet this requirement, but when
> I try to run the backup on this host, I receive the error: "Unable to
> read 4 bytes". Below is the configuration I am using for this
> variable, in this host specific config.pl.
> 
> $Conf{RsyncClientCmd} = '$sshPath -p 222 -q -x -l root $host $rsyncPath 
> $argList+';
> 
> The other hosts which I backup on this server are working just
> fine. Additionally, I can manually connect through ssh to this
> problematic host. So I think that there is nothing wrong with ssh or
> ssh-key.
> 
> Had anyone experienced a problem like this?

What happens when you connect in exactly the same way as the
backuppc user:

    su backuppc
    ssh -p 222 -q -x -l root HOST whoami

Do you get prompted for a password?  Do you see any extraneous
output other than "root"?

Craig


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/

Reply via email to