Hi, Boniforti Flavio wrote on 2009-04-28 22:55:49 +0200 [Re: [BackupPC-users] How BackupPC finds host when using SSH tunnel?]: > [...] > I *didn't* change > the default PingCmd and it still works on my client hosts! I read that pings > are successful... Thus my question was about "how" it comes that when using > SSH tunnel, it still knows that the host is online? Or better: may it be > that BackupPC simply pings "localhost" (as this is my ClientNameAlias)?
that is the only logical thing to do. You're saying the client machine to be backed up is actually named "localhost" (which coincidentally maps to the BackupPC server's loopback address), so that is what is pinged. If you said the host name was actually "remotehost", wouldn't you expect that to be pinged? That said, it really depends on your PingCmd. If you set, for example, $Conf {PingCmd} = '/usr/bin/ssh -ql administrator remotehost.com ping -c 1 10.0.0.254'; that may or may not work, because the user name 'administrator' suggests you're talking to a Windoze machine. But if you've got sshd, you might have ping, and it might produce sane output and exit code ... Regards, Holger ------------------------------------------------------------------------------ Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf _______________________________________________ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List: https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki: http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/