Re: Synchronize two computers
On Fri, Jan 22, 2010 at 3:23 PM, Rodolfo Medina
> On 10-01-21 14:17:37, Rodolfo Medina wrote:
>>> $ rsync -vru --delete ssh://192.168.0.2/home/rodolfo/test1
>>> but got error:
>>> ssh: ssh: Temporary failure in name resolution
>>> rsync: connection unexpectedly closed (0 bytes received so far)
>>> rsync error: unexplained error (code 255) at io.c(453)
>>> What did I miss??
> Tony Nelson <email@example.com> writes:
>> Proper syntax from the rsync man page. You're telling rsync to connect
>> to a host named "ssh". Try "192.168.0.2:/home/rodolfo/test1" instead.
> It doesn't work either. I think that the two pcs don't see each other: also
> the command `ssh 192.168.0.2' produces nothing.
> Further help very much appreciated.
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact firstname.lastname@example.org
1. Use /sbin/ifconfig to check if interfaces were configured properly
I think you've missed "auto eth0" in both /etc/interfaces files. That
means that ifaces will be up only by demand like that:
$ sudo ifup eth0
2. When interfaces are up - use ping to check if machines sees each other
3. If ping is ok - use ssh to check if ssh connection works