[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.
- Paypal Scam Nearly Got Me [en] (2004)
- ZoneAlarm with coComment: Here's the Fix [en] (2006)
- Mozilla [en] (2001)
- Le Web 3, Server Still Down [en] (2006)
- Looking For a Good Header Image [en] (2006)
- WordPress DreamHost WiFi Arghl! [en] (2006)
- Flickr and Dopplr: the Right Way to Import GMail Contacts [en] (2008)
- Warblogger… [en] (2002)
- The Simple Life [en] (2014)
- Headache: Picking a Date for an Event [en] (2007)
8 thoughts on “Slow SSH Login from MacBook [en]”
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.
Essaie de te connecter en mettant l’adresse IP, et non pas le nom de domaine. C’est peut-être le DNS qui foire.
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 !)
On the (IRC!) advice of Stereo, I tried
host $macbook_ipfrom my server: the response was immediate, it didn’t timeout at all.
That rules out reverse DNS problems, I suppose?
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 🙂
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!
It’s fixed now! Thanks again!
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.