[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Synchronize two computers



On Fri, Jan 22, 2010 at 3:23 PM, Rodolfo Medina
<rodolfo.medina@gmail.com> wrote:
> On 10-01-21 14:17:37, Rodolfo Medina wrote:
>
>>>  $ rsync -vru --delete ssh://192.168.0.2/home/rodolfo/test1
>>> /home/rodolfo/
>>>
>>> but got error:
>>>
>>> ssh: ssh: Temporary failure in name resolution
>>> rsync: connection unexpectedly closed (0 bytes received so far)
>>> [receiver]
>>> rsync error: unexplained error (code 255) at io.c(453)
>>> [receiver=2.6.9]
>>>
>>> What did I miss??
>
>
> Tony Nelson <tonynelson@georgeanelson.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.
>
> Rodolfo
>
>
> --
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.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

Alexey


Reply to: