Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
slow ssh response
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
punter
Guru
Guru


Joined: 25 Nov 2002
Posts: 506

PostPosted: Wed May 19, 2004 6:16 pm    Post subject: slow ssh response Reply with quote

I don't know why, but my computer is slow at responding to calls.
it's particularly noticable with ssh, it takes around 20 seconds for a password prompt, when it should take no more than 2 seconds ...

what could be the cause ??
I've allowed only SSH protocol 2, disabled computers response to pings and have key based SSH for some external hosts, but key-based authentication is not enforced.

what do you think ???????
Back to top
View user's profile Send private message
teknomage1
Veteran
Veteran


Joined: 05 Aug 2003
Posts: 1239
Location: Los Angeles, CA

PostPosted: Wed May 19, 2004 6:40 pm    Post subject: Reply with quote

It really depends on how many computers are between you and your target. If you hadn't disabled ping (and if disabling ping weren't necessary these days) I'd say just ping the system and see if maybe it's just a slow network connection.
Back to top
View user's profile Send private message
punter
Guru
Guru


Joined: 25 Nov 2002
Posts: 506

PostPosted: Wed May 19, 2004 8:07 pm    Post subject: Reply with quote

nah, i'm afraid it's worse than that.
the following scenario pushed me to make such a post, actually:

i connected my computer directly to another via cross cable for some file transfers.
using winscp or putty on the other computer showed slow response.
to be more specific, winscp prompted that no reply is received and whether user wants to retry or not.
after asking for retry, it would work, as if the reply to the first request had just came back.

moreover during file transfers winscp checks keys on an interval basis.
this key checking failed all the times, winscp coming back and saying 'host key checking failed'.

i don't know why, but i'm certain my computer delays considerably in the first response to a ssh call !!!!
Back to top
View user's profile Send private message
anderiv
Tux's lil' helper
Tux's lil' helper


Joined: 29 Mar 2004
Posts: 79

PostPosted: Wed May 19, 2004 8:09 pm    Post subject: Reply with quote

You might try putting entries in the /etc/hosts file so that your server is able to resolve the hostname of your client box.

I've seen issues like this before when there were DNS issues...
Back to top
View user's profile Send private message
MWraith
n00b
n00b


Joined: 07 Feb 2004
Posts: 21

PostPosted: Wed May 19, 2004 8:15 pm    Post subject: Reply with quote

Yes, i've had this problem before and it was indeed DNS related. If you use -v when connecting you will have more of an idea what's going on, you will most likely see that it is hanging when trying to resolve the ip address.
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