<div>Hi Lee,</div>
<div> </div>
<div>I think that Alan's suggestion makes sense and is the most likely cause... Did you use ssh -v -v -v ... to identify where it was hanging? Perhaps the alternative is to set up your own dns server maybe and stick that in /etc/resolv.conf.
</div>
<div> </div>
<div>I also found the following article which indicates that there could be an issue with PAM too, although I don't know if your symptoms are the same...</div>
<div> </div>
<div><a href="http://lists.freebsd.org/pipermail/freebsd-questions/2004-February/037661.html">http://lists.freebsd.org/pipermail/freebsd-questions/2004-February/037661.html</a><br><br>And finally it seems that someone on a Mac had similar trouble with their ssh client and fixed it by recompiling etc... (and he's not the only one, but with varying issues... -- see links below)
</div>
<div> </div>
<div>Recompile: <a href="http://www.macosxhints.com/article.php?story=20050329185832952">http://www.macosxhints.com/article.php?story=20050329185832952</a></div>
<div>Search Domains : <a href="http://www.macosxhints.com/article.php?story=20050608020340547">http://www.macosxhints.com/article.php?story=20050608020340547</a></div>
<div>Failed domain server : <a href="http://discussions.info.apple.com/webx?13@646.0Phxaxq621l.3@.68ae7b0c/25">http://discussions.info.apple.com/webx?13@646.0Phxaxq621l.3@.68ae7b0c/25</a></div>
<div>Client problem, CheckHostIP directive : <a href="http://www.livejournal.com/community/macosx/3931641.html">http://www.livejournal.com/community/macosx/3931641.html</a></div>
<div> </div>
<div> </div>
<div>Hope that helps... Let us know which was the culprit when you find it...</div>
<div> </div>
<div>Speak soon,</div>
<div>Darren.</div>
<div> </div>
<div> </div>
<div><span class="gmail_quote">On 9/8/05, <b class="gmail_sendername">Lee Larcombe</b> <<a href="mailto:lee@larcombe.uk-internet.org.uk">lee@larcombe.uk-internet.org.uk</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hi<br><br>Unfortunately I can't make it tonight. If anyone turns up, perhaps you could<br>come up with an answer to my question:
<br><br>I have got two machines networked together via a switch. One is a MacOS<br>700Mhz G3 iBook with a 100mbps network card, the other a dual PIII 700Mhz<br>ubuntu running desktop with a 10mbps network card.<br><br>The ip addresses are
<a href="http://192.168.55.1">192.168.55.1</a> (iBook) and <a href="http://192.168.55.2">192.168.55.2</a> (desktop). The<br>subnet is <a href="http://255.255.255.0">255.255.255.0</a>. The switch is part of a firewall device which has
<br>the internal ip <a href="http://192.168.55.50">192.168.55.50</a> and acts as a gateway to another LAN with the<br>external ip <a href="http://138.250.128.125">138.250.128.125</a> - subnet <a href="http://255.255.224.0">
255.255.224.0</a>. DNS services are<br>provided on that LAN from <a href="http://138.250.128.201">138.250.128.201</a> and <a href="http://138.250.128.202">138.250.128.202</a>.<br><br>With this setup, internet access via the firewall/gateway and the external
<br>LAN is fine from either machine.<br><br>When I tried to ssh or ftp from the iBook to the desktop using the ip<br>address of the desktop, the connection was very slow to establish (30secs +)<br><br>Accessing webpages on the iBook served by apache on the Ubuntu machine was
<br>fine.<br><br>The problem was resolved when I added entries for the machines in the<br>/etc/hosts files, with names clarke (<a href="http://192.168.55.2">192.168.55.2</a>) and darwin<br>(<a href="http://192.168.55.1">192.168.55.1
</a>).<br><br>I can now ftp or ssh using the machine names : ftp clarke or ssh clarke, and<br>the connection is quick as you would expect.<br><br>Why was the hosts entry required for this?<br><br>Lee<br><br><br><br>_______________________________________________
<br>Beds mailing list<br><a href="mailto:Beds@mailman.lug.org.uk">Beds@mailman.lug.org.uk</a><br><a href="http://mailman.lug.org.uk/mailman/listinfo/beds">http://mailman.lug.org.uk/mailman/listinfo/beds</a><br></blockquote>
</div><br>