Boniforti Flavio wrote: > Hello there. > > I read the chapter "How BackupPC Finds Hosts" and I found out that my > hosts don't get "found" if using the suggested > > perl -e 'print(gethostbyname("myhost") ? "ok\n" : "not found\n");' > > Thus I'm asking: how does BackupPC ping hosts which actually are > accessed passing through an ssh tunnel? > > Thanks... > > Flavio Boniforti > With ssh you have a tunnel to a port of your local host. You can't "ping" this port. What I do is to change backuppc's ping command $Conf{PingCmd} to ssh -p <port> <user>@localhost whoami where: port = the port where ssh terminates ob your backuppc server username = an authorized user on your client
br Matthias -- Don't Panic ------------------------------------------------------------------------------ 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/