From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.help Subject: Re: 25.3.1 netbsd; scp tramp has long delay on first connection Date: Fri, 21 Sep 2018 09:47:18 +0200 Message-ID: <87o9cruwah.fsf@gmx.de> References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1537515971 7956 195.159.176.226 (21 Sep 2018 07:46:11 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 21 Sep 2018 07:46:11 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: Help Gnu Emacs mailing list To: Van L Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Sep 21 09:46:07 2018 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g3G8Y-0001rx-Lo for geh-help-gnu-emacs@m.gmane.org; Fri, 21 Sep 2018 09:46:02 +0200 Original-Received: from localhost ([::1]:54259 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g3GAf-0001Gc-1W for geh-help-gnu-emacs@m.gmane.org; Fri, 21 Sep 2018 03:48:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40015) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g3G9w-00016g-MJ for help-gnu-emacs@gnu.org; Fri, 21 Sep 2018 03:47:32 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g3G9s-0008Bz-1d for help-gnu-emacs@gnu.org; Fri, 21 Sep 2018 03:47:28 -0400 Original-Received: from mout.gmx.net ([212.227.15.18]:41043) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1g3G9r-0008A6-Nz for help-gnu-emacs@gnu.org; Fri, 21 Sep 2018 03:47:23 -0400 Original-Received: from detlef.gmx.de ([212.86.54.22]) by mail.gmx.com (mrgmx001 [212.227.17.190]) with ESMTPSA (Nemesis) id 0MUpFU-1gHciy1Q0S-00YDqL; Fri, 21 Sep 2018 09:47:20 +0200 In-Reply-To: (Van L.'s message of "Fri, 21 Sep 2018 16:39:09 +1000") X-Provags-ID: V03:K1:yiD/u2HsaDGbx9ephWnBl5sbVSHyzZE9ru5273kXzEU/GwhMVU0 a74bAwHq+VXgwtUsE/ybe45wa05vnYD3tvEB8tHvIN68ZRAH/ODqTvFXrB29iFV5WW/vr3R ruR3X3Hu4zBnZD/KWEdUahHVBzs/KOJlU5+REybfM+9ufmAMidFZe+6H1cmD7Dc2CVnEQeH WGwa4t8R0zuZV30G4mD0g== X-UI-Out-Filterresults: notjunk:1;V01:K0:GO2CavoyaiY=:wKfZc5LST1eHJRvPP2vZMc wsUJykGkgcPauQNeOYbPBacw7aE6n5wzsY4LtxOIhDsr59wyvF44+vkw5s58VNz0+GrhWXyt1 TWpyP5OAyp2dErooLHGSZjHMWgGJu8PKmGisjZvOV7XrLmTTF2ulll/RMlbPiK8g4pmBIcqZQ 65cBkBP+L4JInz4W40EYw0GV3iH/h5FG0Hy0mrMoum8Rk1tKZNVyhiD7Y01wRKkPLhSd9P4WT EDEwAFQDWUW//kNA4mKZ8w3BbfvS752dEEq4/PFVtV2s93EgAxIB0UdMWYQJE79FAeIFTumou 8DNdrdJ6OFt1FjmLiQhxIbVMXXjQhEZiVWoXMBlDrVkr/Q9fUGZwg6fQEwJqiR9SQIrHwePTq nzMihp4i5jX9HPljRCSNGQ6MqNmD/mAyIiOahZXgRS1EPrYq5Gkc8VhqJwSeTaPNppLg5pqFo nMgsgKYgQUlZQRvQdyd1rhlZzgSTcehbHCjrkTdQJ/ZzRImpt+DHZZ17zqBYxbnXbJInnkP3z W8bypt8UJE0Kr1Tl6vvujdJMfZGpM1s52wqQgKHTcztoXtaSIZZTDO1yv+G57LSqpfqU2HKkQ LTb50+LWKCWU8uXnsW3WCteRLPmAYjmEBQ9xDcP9OZguWtwrdEyjgsiL2ujkFDU/8uE1/PyQh fvcl3zpW6/9OJglvx+RBcRG2r0hwr2/sCc8w/BOOiuDubYnKUAY2i75vxRPFiCqAk0IefUzIG 2gDKqRGwWeX4tqjG9pweiwLWAnmLpDv4Z0QRe9rqEcZukFemPytfWfzg7dWtFX7UkGc+uEgj X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 212.227.15.18 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:117964 Archived-At: Van L writes: > Hello, Hi, > `(setq tramp-verbose 6)' > =E2=94=8C=E2=94=80=E2=94=80=E2=94=80=E2=94=80 > =E2=94=82 6 (#o6, #x6, ?\C-f) > =E2=94=82 Opening directory /scp:XXX@epi:/Users/XXX/... > =E2=94=82 Tramp: Opening connection for XXX@epi using scp... > =E2=94=82 Tramp: Sending command =E2=80=98exec ssh -l XXX -o ControlMa= ster=3Dauto -o ControlPath=3D'tramp.%C' -o ControlPersist=3Dno -e none epi= =E2=80=99 > =E2=94=82 Tramp: Waiting for prompts from remote shell...done > =E2=94=82 Tramp: Found remote shell prompt on =E2=80=98epi=E2=80=99 > =E2=94=82 Tramp: Opening connection for XXX@epi using scp...done > =E2=94=82 Opening directory /scp:XXX@epi:/Users/XXX/...done > =E2=94=94=E2=94=80=E2=94=80=E2=94=80=E2=94=80 > (emacs-version) "GNU Emacs 25.3.1 (x86_64=E2=80=93netbsd, GTK+ Version > 3.22.30) of 2018-07-05" If tramp-verbose is set to 6, there will be a Tramp debug buffer with timestamps. Follow the lines which start "16:02:18.788240 (6) ...= ", and you'll see the commands Tramp sends to the remote, and the answers. This should show us where Tramp spends its time. Best regards, Michael.