ssh long waiting time (delay) on 12.04 (not on 11.04)

Bug #985099 reported by Martin Konôpka
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openssh (Ubuntu)
Expired
Medium
Unassigned

Bug Description

We have two subnetworks (with static IP v4 addressing). Call it here subnetwork S1 and subnetwork S2 .

There is a machine P on S1 . It is the local machine from which I am reporting this bug. It has a fresh clean installation of xubuntu 12.04 (Precise), 32-bit version.

There is a machine M on S2 . It runs ubuntu 10.10, 64-bit version (Maverick).

################## the problem ####################
When I issue an ssh (or scp or rsync) command on P , aiming to access M , I must wait rather long time, about 5 seconds, before I get the login prompt.
################################################

There is also another machine, call it N (ubuntu 11.04) , on S1. I.e. machines P and N are on the same subnetwork S1.
When I type ssh on N , again aiming to access M , there is no such a delay (the login prompt is got immediatelly).

The only essential difference (in my opinion) between machines P and N is in (x)ubuntu version (and also openssh versions).
P uses xubuntu 12.04, 32-bit. (Precise)
N uses ubuntu 11.04, 64-bit. (Natty)

BTW, when logging from P to N (i.e. within the same subnetwork S1), there is no delay.

In summary, while ubuntu 11.04 has no problem with ssh to the other subnetwork, xubuntu 12.04 causes the unpleasant delays.

There is no nameserver issue. I am using /etc/hosts or ever manually typed IP adresses (numbers) when doing the ssh communications.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: openssh-client 1:5.9p1-5ubuntu1
ProcVersionSignature: Ubuntu 3.2.0-23.36-generic 3.2.14
Uname: Linux 3.2.0-23-generic i686
ApportVersion: 2.0.1-0ubuntu4
Architecture: i386
Date: Wed Apr 18 18:57:19 2012
InstallationMedia: Xubuntu 12.04 LTS "Precise Pangolin" - Beta i386 (20120328)
ProcEnviron:
 LANGUAGE=sk:en
 TERM=xterm
 PATH=(custom, user)
 LANG=sk_SK.UTF-8
 SHELL=/bin/bash
RelatedPackageVersions:
 ssh-askpass N/A
 libpam-ssh N/A
 keychain N/A
 ssh-askpass-gnome N/A
SSHClientVersion: OpenSSH_5.9p1 Debian-5ubuntu1, OpenSSL 1.0.1 14 Mar 2012
SourcePackage: openssh
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Martin Konôpka (martin.konopka) wrote :
Revision history for this message
Serge Hallyn (serge-hallyn) wrote :

Thanks for reporting this bug.

Can you run ssh with '-vvv' to both hosts and show the output here?

Does 'ssh P /bin/true' also take as long, or is it only a login shell which takes so long?

Changed in openssh (Ubuntu):
importance: Undecided → Medium
status: New → Incomplete
Revision history for this message
Martin Konôpka (martin.konopka) wrote :

I attach files with outputs from commands ssh -vvv issued on machine P.

The operation
ssh P /bin/true
(issued again on P) is quick. Almost no noticeable delay.

Revision history for this message
Martin Konôpka (martin.konopka) wrote :
Revision history for this message
Nur Kholis M (kholis) wrote :

add "GSSAPIAuthentication no" in ~/.ssh/config fix this problem in my laptop

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for openssh (Ubuntu) because there has been no activity for 60 days.]

Changed in openssh (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.