unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* 25.3.1 netbsd; scp tramp has long delay on first connection
@ 2018-09-21  6:39 Van L
  2018-09-21  7:47 ` Michael Albinus
  0 siblings, 1 reply; 11+ messages in thread
From: Van L @ 2018-09-21  6:39 UTC (permalink / raw)
  To: Help Gnu Emacs mailing list

Hello,

Using emacs to list a directory on a remote machine takes longer than expected.

I can ssh immediately but emacs’s tramp delays are over 60 seconds for the first time connection.

Is there a setting that is needed? Going in the other direction on the network with 26.1 emacs connects immediately.

  ┌────
  │ Opening directory /scp:XXX@epi:/Users/XXX/2018-07-31/...
  │ Tramp: Opening connection for XXX@epi using scp...
  │ Tramp: Sending command ‘exec ssh -l XXX  -o ControlMaster=auto -o ControlPath='tramp.%C' -o ControlPersist=no -e none epi’
  │ Tramp: Waiting for prompts from remote shell...done
  │ Tramp: Found remote shell prompt on ‘epi’
  │ Tramp: Opening connection for XXX@epi using scp...done
  │ Opening directory /scp:XXX@epi:/Users/XXX/2018-07-31/...done
  └────

  `(setq tramp-verbose 6)'
  ┌────
  │ 6 (#o6, #x6, ?\C-f)
  │ Opening directory /scp:XXX@epi:/Users/XXX/...
  │ Tramp: Opening connection for XXX@epi using scp...
  │ Tramp: Sending command ‘exec ssh -l XXX  -o ControlMaster=auto -o ControlPath='tramp.%C' -o ControlPersist=no -e none epi’
  │ Tramp: Waiting for prompts from remote shell...done
  │ Tramp: Found remote shell prompt on ‘epi’
  │ Tramp: Opening connection for XXX@epi using scp...done
  │ Opening directory /scp:XXX@epi:/Users/XXX/...done
  └────
  (emacs-version) "GNU Emacs 25.3.1 (x86_64–netbsd, GTK+ Version
  3.22.30) of 2018-07-05"




^ permalink raw reply	[flat|nested] 11+ messages in thread
* Re: 25.3.1 netbsd; scp tramp has long delay on first connection
@ 2018-09-25  2:27 Van L
  2018-09-25 10:48 ` Michael Albinus
  0 siblings, 1 reply; 11+ messages in thread
From: Van L @ 2018-09-25  2:27 UTC (permalink / raw)
  To: Help Gnu Emacs mailing list

    > You can disable these tests by setting
    > tramp-use-ssh-controlmaster-options to nil.
    
    ┌────
    │ ;; settings don't apply after Emacs restart
    │ (custom-set-variables
    │  '(tramp-use-ssh-controlmaster-options nil))
    │ 
    │ ;; this does
    │ (setq tramp-use-ssh-controlmaster-options nil)
    └────
    
    In .emacs the above shows the Customize UI's settings not
    sticking after Emacs restart.


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2018-09-26  2:17 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-09-21  6:39 25.3.1 netbsd; scp tramp has long delay on first connection Van L
2018-09-21  7:47 ` Michael Albinus
2018-09-21  8:18   ` Van L
2018-09-21  8:41     ` Michael Albinus
2018-09-21  9:58       ` Van L
  -- strict thread matches above, loose matches on Subject: below --
2018-09-25  2:27 Van L
2018-09-25 10:48 ` Michael Albinus
2018-09-25 11:23   ` Van L
     [not found]   ` <mailman.1290.1537875422.1284.help-gnu-emacs@gnu.org>
2018-09-25 14:48     ` Emanuel Berg
2018-09-26  1:58       ` Van L
2018-09-26  2:17       ` Van L

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).