debian-ssh  

Re: Connect two pcs with crossover cable

Timothy Yip
Fri, 22 Jan 2010 03:56:39 -0800

Hi,

You would probably want to do some tests to see if the network really is up
first.

- Check by doing *ifconfig eth0 *on both machines, and make sure they have
the given IPs
- Then try pinging both ways and see if you get a return
- Check the lights on the NICs are active
- Make sure SSH server is running by: */etc/init.d/ssh-server status*
- When initiating a connection do *ssh -vvv 192.168.0.2* for more verbose

Copy and paste the results.

That's all I can think of for now, until more info are provided.


Regards,
Tim

2010/1/22 Rodolfo Medina <rodolfo.med...@gmail.com>

> Hi: I'm new to this list and to ssh program.
>
> I've connected two pcs with a crossover cable and installed ssh on both but
> they don't seem to `see' each other: I edited /etc/network/interfaces on
> the
> first pc as follows:
>
> allow-hotplug eth0
> iface eth0 inet static
>        address 192.168.0.1
>        netmask 255.255.255.0
>
>
> , and in the second pc the same with 192.168.0.2 in place of 192.168.0.1.
>  The
> command `ssh 192.168.0.2' given from the first machine produces no output.
>  I
> want to use rsync with ssh to share data between the two pcs.
>
> I'm stuck, never connected two pcs together but now I need to: help highly
> appreciated.
>
> Thanks
> Rodolfo
>
>
> --
> To UNSUBSCRIBE, email to debian-ssh-requ...@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> listmas...@lists.debian.org
>
>