SSH - slowly (or not at all) connects [a little long]

From: Robert B. (rpbyc_at_NOSPAM.op.pl)
Date: 01/30/04


Date: Fri, 30 Jan 2004 08:55:46 +0100

Hi,

I have a small network with 4 Linux machines. Every machine has 2 NIC's.
The first NIC's are configured for an internal network (192.168.1.0), the
second - for an external (say, 1.2.3.0).
Every machine is running an sshd. Sometimes, when I want to connect from
one machine to another by ssh, I get "Connection timed out". But then,
If I just send, say 3 pings to the machine and try to ssh to it again,
it succeeds! - the login process takes just 1s or less (I use DSA keys
for verification).
What could be the problem then?

All the 8 NIC's are connected to one 10 port switch AT 9410 (1Gb switch),
although 4 of them are 100Mb/s and 4 are 1Gb/s.
Is it possible the switch is the source of problems, or rather, I don't
know,
name resolving?

Every linux was installed on one machine, and then the HDD was put into
appriopriate
other machine, so after the installation, when the network services were
going down,
there was a message about problems with MAC address.
But I think I repaired that, using MAC address got from the arp command to
put them
into /etc/sysconfig/network-scripts/ifcfg-ethX. Maybe it was not the good
solution?

Here are the /etc/hosts files:

127.0.0.1 klaster2 localhost.localdomain localhost
1.2.3.1 klaster1
1.2.3.2 klaster2
1.2.3.3 klaster3
1.2.3.4 klaster4

192.168.1.1 fast1
192.168.1.2 fast2
192.168.1.3 fast3
192.168.1.4 fast4

-- 
Regards,
Robert B.
rpbyc@op.pl


Relevant Pages

  • Re: MS Office Already in Use?
    ... Mother got her computer, so I installed an old version with that ... them to FULLY remove the old installation and your problem will go away :-) ... checked every computer logged in on my network in the house. ... One's a Windows, one's a Mac ...
    (microsoft.public.mac.office)
  • Re: What can you install Tiger from?
    ... not support OS X installations from over the network. ... installation of software onto an existing OS X installation, ... people that they need OS X Server. ... Your mistake is thinking that Mac OS X Server does things that Mac OS X ...
    (comp.sys.mac.advocacy)
  • Re: Fedora/Linux as a USB Drive
    ... Linux machines and one WindowZe machine. ... There are "laplink" cables for USB. ... which acts as a USB network card to both ... I seriously doubt there is a hardware and a driver which would do what you ...
    (Fedora)
  • Re: Networking problem
    ... I can also ping Google...but the page does not load in a browser ... I tried *all* my Linux machines and got the same thing ... Really stumped that none of my Linux machines can reset my network ...
    (comp.os.linux.setup)
  • Re: Fedora/Linux as a USB Drive
    ... Linux machines and one WindowZe machine. ... and a piece of hardware between them, which acts as a USB network card to both ends. ... It sounds like what he wants is to connect two computers together with a cable and have them treat one another like flash drives. ...
    (Fedora)