unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#21504: (require 'tramp) stuck on testing `tramp-ssh-controlmaster-options'
@ 2015-09-17  2:26 傅文辉
  2015-09-17 18:56 ` Michael Albinus
  0 siblings, 1 reply; 2+ messages in thread
From: 傅文辉 @ 2015-09-17  2:26 UTC (permalink / raw)
  To: 21504

Emacs 24.5.1, tramp 2.2.11-24.5

The following code stuck with some DNS settings

>>> file: tramp-loaddefs.el
(defvar tramp-ssh-controlmaster-options
  ...
  (call-process "ssh" nil t nil "-o" "ControlPath=%C" "host.does.not.exist")
  ...)
<<<

`ssh -o ControlPath=%C host.does.not.exist` stuck instead of going error quickly with DNS from my ISP (both home and workplace).




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

* bug#21504: (require 'tramp) stuck on testing `tramp-ssh-controlmaster-options'
  2015-09-17  2:26 bug#21504: (require 'tramp) stuck on testing `tramp-ssh-controlmaster-options' 傅文辉
@ 2015-09-17 18:56 ` Michael Albinus
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Albinus @ 2015-09-17 18:56 UTC (permalink / raw)
  To: 傅文辉; +Cc: 21504

傅文辉 <ffffwh@icloud.com> writes:

> Emacs 24.5.1, tramp 2.2.11-24.5
>
> The following code stuck with some DNS settings
>
>>>> file: tramp-loaddefs.el
> (defvar tramp-ssh-controlmaster-options
>   ...
>   (call-process "ssh" nil t nil "-o" "ControlPath=%C" "host.does.not.exist")
>   ...)
> <<<
>
> `ssh -o ControlPath=%C host.does.not.exist` stuck instead of going
> error quickly with DNS from my ISP (both home and workplace).

It is a similar bug report like bug#20015. Solved in Emacs 25 (the git
version), using 0.0.0.1 as not existing host. This avoids problems with
improper DNS settings.

Best regards, Michael.





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

end of thread, other threads:[~2015-09-17 18:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-17  2:26 bug#21504: (require 'tramp) stuck on testing `tramp-ssh-controlmaster-options' 傅文辉
2015-09-17 18:56 ` Michael Albinus

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).