Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Slow ssh connections
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
synik
n00b
n00b


Joined: 17 Jul 2002
Posts: 4
Location: Brisbane, Australia

PostPosted: Mon Aug 26, 2002 8:59 am    Post subject: Slow ssh connections Reply with quote

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
View user's profile Send private message
cyfred
Retired Dev
Retired Dev


Joined: 23 Aug 2002
Posts: 596

PostPosted: Mon Aug 26, 2002 9:14 am    Post subject: Re: A few things Reply with quote

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
View user's profile Send private message
synik
n00b
n00b


Joined: 17 Jul 2002
Posts: 4
Location: Brisbane, Australia

PostPosted: Mon Aug 26, 2002 9:57 am    Post subject: oops Reply with quote

yeah, I meant ssh'ing :-)
Back to top
View user's profile Send private message
Naan Yaar
Bodhisattva
Bodhisattva


Joined: 27 Jun 2002
Posts: 1549

PostPosted: Mon Aug 26, 2002 12:29 pm    Post subject: Reply with quote

Try:
Code:

ssh -v -v <server>

to dump debugging information from ssh. This may give you clues regarding what it does when it is "thinking".
Back to top
View user's profile Send private message
sophokles
n00b
n00b


Joined: 22 Aug 2002
Posts: 3

PostPosted: Mon Aug 26, 2002 4:49 pm    Post subject: Reply with quote

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
View user's profile Send private message
acidreign
Tux's lil' helper
Tux's lil' helper


Joined: 21 Apr 2002
Posts: 122
Location: Brisbane, Australia

PostPosted: Mon Aug 26, 2002 11:21 pm    Post subject: DNS timeout Reply with quote

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
View user's profile Send private message
nE0
Tux's lil' helper
Tux's lil' helper


Joined: 08 Aug 2002
Posts: 146
Location: The Netherlands, Breda

PostPosted: Tue Aug 27, 2002 5:59 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum