Slow SSH Login from MacBook [en]

[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?

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 thoughts on “Slow SSH Login from MacBook [en]

  1. 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. 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. 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. 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. 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. 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!

Leave a Reply

Your email address will not be published. Required fields are marked *