BackupPC-users

[BackupPC-users] Connecting with SSH over another host

2009-04-28 11:14:41
Subject: [BackupPC-users] Connecting with SSH over another host
From: "Boniforti Flavio" <flavio AT piramide DOT ch>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Tue, 28 Apr 2009 17:09:04 +0200
Hello there,

it's me again! ;-)

My backups run fine, but now I have a remote situation where I had to
install the SSH server on server A and the cwRsync service on server B
(the actual fileserver I want to backup from).

Server A = 10.0.0.252
Server B = 10.0.0.254

I opened port 22 on my NAT to 10.0.0.252.

I want to backup using ssh tunnel like I'm doing with my other hosts.
What do you think I'll have to change?

Actually the tunnel is opened like:

ssh -fC administrator AT remotehost DOT com -L 8876:localhost:873 sleep 20

The above command line is valid while backing up the "remotehost.com",
or better: the same PC that runs sshd *and* rsyncd. Also, the
"ClientNameAlias" is "localhost" actually.

I guess I have to change both "ClientNameAlias" *and* the
8876:localhost:873, or am I wrong?

I tried with:

ssh -fC administrator AT remotehost DOT com -L 8876:10.0.0.254:873 sleep 20

and

"ClientNameAlias" = 10.0.0.254

But didn't succeed: I always get "no ping" error.

Where am I going wrong?

Thanks in advance,
Flavio Boniforti

PIRAMIDE INFORMATICA SAGL
Via Ballerini 21
6600 Locarno
Switzerland
Phone: +41 91 751 68 81
Fax: +41 91 751 69 14
URL: http://www.piramide.ch
E-mail: flavio AT piramide DOT ch 

------------------------------------------------------------------------------
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 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/

<Prev in Thread] Current Thread [Next in Thread>