View previous topic :: View next topic |
Author |
Message |
synik n00b
Joined: 17 Jul 2002 Posts: 4 Location: Brisbane, Australia
|
Posted: Mon Aug 26, 2002 8:59 am Post subject: Slow ssh connections |
|
|
When I try to telnet from my Gentoo box to my Debian box this is what happens:
# ssh debbox
* -- pauses here for 60 seconds or so ---*
daniel@debbox's password:
After I enter my password, everything is fine.
My flatmates windows box, and my other 2 debian boxes can log in fine, so the problem must be my Gentoo box.
Anyone got any ideas ? |
|
Back to top |
|
|
cyfred Retired Dev
Joined: 23 Aug 2002 Posts: 596
|
Posted: Mon Aug 26, 2002 9:14 am Post subject: Re: A few things |
|
|
Well you are not really telnet-ing into the other machine are you, you are ssh-ing.
But to the problem
This is caused by the respective ssh client and server not using matching protocols, causing a thourough security check. Try upgrading the version of ssh on the server.
Windows boxen work quickly because the security isnt authenticated properly |
|
Back to top |
|
|
synik n00b
Joined: 17 Jul 2002 Posts: 4 Location: Brisbane, Australia
|
Posted: Mon Aug 26, 2002 9:57 am Post subject: oops |
|
|
yeah, I meant ssh'ing |
|
Back to top |
|
|
Naan Yaar Bodhisattva
Joined: 27 Jun 2002 Posts: 1549
|
Posted: Mon Aug 26, 2002 12:29 pm Post subject: |
|
|
Try:
to dump debugging information from ssh. This may give you clues regarding what it does when it is "thinking". |
|
Back to top |
|
|
sophokles n00b
Joined: 22 Aug 2002 Posts: 3
|
Posted: Mon Aug 26, 2002 4:49 pm Post subject: |
|
|
It could be that you run into a dns timeout during the reverse lookup made by your debian box when you try to login from your gentoo box? 60s looks like a dns timeout for me. |
|
Back to top |
|
|
acidreign Tux's lil' helper
Joined: 21 Apr 2002 Posts: 122 Location: Brisbane, Australia
|
Posted: Mon Aug 26, 2002 11:21 pm Post subject: DNS timeout |
|
|
It does sound like a dns timeout, it would be worth your while to setup an internal DNS server, or even simpler still would be to add each of the machines ip addresses and hostnames into the /etc/hosts file on both machines. |
|
Back to top |
|
|
nE0 Tux's lil' helper
Joined: 08 Aug 2002 Posts: 146 Location: The Netherlands, Breda
|
Posted: Tue Aug 27, 2002 5:59 am Post subject: |
|
|
edit the /etc/hosts on your debbox, and add the name for your gentoobox, and the corresponding ip adres.
ssh, telnet, ftp are a few services that will do reverse namelookup's
If that fiales, the service will continue.
To speed up things within any linuxnetwork (in a windowsnetwork too) be sure that nameresolution and reverse namelookup works on al the machines, to al the machines. _________________ All things considerring! I'm considerring to...never mind! |
|
Back to top |
|
|
|