Re: [BackupPC-users] PingCmd for host behind firewall
2010-11-20 13:57:27
Il 17/11/2010 08:32, Daniel Mueller ha scritto:
> I'm backing up a host behind a router/firewall which in general works fine.
>
> The firewall forwards only the ssh port and blocks ping requests. So I
> tried to set Set to something like
>
> $sshPath -l root $host /bin/true
>
> Running this manually (as user backuppc) correctly returns 0 on success
> 255 when the host can't be reached. But backuppc complains that pings to
> host have failed?! Any idea why this won't work?
That command lets you login as root to the remote machine and execute
"/bin/true" there.
You need to ping the remote machine _from_ the server but the firewall
blocks you.
Set PingCmd simply to "/bin/true" (and hope the remote host keeps
working fine)
HTH
gc :-)
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3.
Spend less time writing and rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/
|
|
|