Slow SSH Login from MacBook

[fr]

La connection SSH vers mon serveur depuis mon MacBook est très lente (je dois attendre plusieurs minutes pour qu'il me demande mon mot de passe). Il me semble me souvenir que depuis ma machine Windows à la maison également, il n'y avait rien de cela. L'autre semaine, j'ai essayé de me connecter depuis un tout autre endroit et la réponse a été instantanée. Idées?

[en]

Well, it seems that writing about my technical problems here is more efficient than bugging people repeatedly on IRC about them, so let’s continue. Welcome to Bunny’s Troublshooting Centre.

I have trouble SSH’ing into my server from my MacBook. Trouble, here, means I have to wait a couple of minutes (no exaggeration) for the password prompt. If I’m quick enough and type my password in before it times out, I’m in.

I logged in from somewhere else the other week and it responded almost immediately. I don’t recall that logging in from home (same wifi/DSL connection) from my winbox was sluggish.

Any ideas? I’ve run SSH with the verbose option on, and it does throw up a few warnings an errors. I don’t really want to paste it all here, but if you tell me what bits are useful I can put them in a pastebin. Thanks for any ideas/help/assistance.

8 Comments

  1. Posted 9/8/2006 at 4:18 pm | Permalink

    I recall something like this happening to me a while ago, but I can’t remember how I fixed it. If you want, you can e-mail me the verbose output and I’ll take a look.

  2. Stephan
    Posted 9/8/2006 at 9:07 pm | Permalink

    Essaie de te connecter en mettant l’adresse IP, et non pas le nom de domaine. C’est peut-être le DNS qui foire.

  3. Posted 9/8/2006 at 10:38 pm | Permalink

    Each time that I used to have that kind of trouble with my ssh client, it was related to a bad configuration of DNS server. Like using an unresponsive one. Or trying to connect from an host using an IP without a proper dns reverse.

    Anyway, and if your DNS servers are well set, please copy the -vvv log to my e-mail and we will try to check this out.

    (post wrote from my iBook G4, watching MacOSX installing himself on my shiny new macbook !)

  4. Posted 9/9/2006 at 8:51 am | Permalink

    On the (IRC!) advice of Stereo, I tried host $macbook_ip from my server: the response was immediate, it didn’t timeout at all.

    That rules out reverse DNS problems, I suppose?

  5. Posted 9/9/2006 at 11:55 am | Permalink

    Does it rules out ? I think so.

    But does the same command on the macbook works ? Is the “host $server_ip” response quick enough (something like less than 1 sec) on the macbook too ?

    Anyway, having the ssh warnings would help to find the real issue :)

  6. Posted 9/9/2006 at 12:28 pm | Permalink

    You’re right, it doesn’t. It seems it is indeed a reverse DNS problem. Should get fixed at some point.

    Thanks to everybody for the help!

  7. Posted 9/10/2006 at 9:43 pm | Permalink

    It’s fixed now! Thanks again!

  8. Posted 9/12/2006 at 4:39 pm | Permalink

    Sorry your comment got eaten Oelbaum. I saw it on coComment. As I told you by mail, Patrick just got reverse DNS going. I think it wasn’t working at all.

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*
Contact