Comment 2 for bug 519930

Revision history for this message
pedemoz (pedemoz) wrote :

Same problem with much the same setup (9.10 amd64). SSH login was taking exactly 60 seconds. Some apps that rely on ssh (FreeNX for example) were failing due to timeouts. Verbose output of an ssh login showed that it was pausing for 60 seconds after "Entering interactive session".

The problem for me was the same as for Andrew (the OP) - an smb/cifs mount was unavailable. (I could never determine why ssh login was fast from Windows using Putty - surely Linux ssh couldn't be slower than Windows... But the smb share from the server was to the Windows box I was testing from and thus always available when testing.)

The solution, again the same as for Andrew and as described on his website, was to modify the Message Of The Day (MOTD) script so that it ignores smb/cifs mounts. Simply add the following to "/usr/share/pyshared/landscape/lib/disk.py" (after "except ValueError: continue:")...

       if filesystem == "cifs":
            continue

There are numerous forum reports about slow ssh login - I wonder how many are due to the same problem?

P.