unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Michael Albinus <michael.albinus@gmx.de>
To: Juliusz Chroboczek <jch@pps.univ-paris-diderot.fr>
Cc: 17653@debbugs.gnu.org
Subject: bug#17653: 24.3; Tramp doesn't detect ssh ControlMaster
Date: Sun, 01 Jun 2014 10:20:24 +0200	[thread overview]
Message-ID: <877g51vy5z.fsf@gmx.de> (raw)
In-Reply-To: <87k392kpse.wl%jch@pps.univ-paris-diderot.fr> (Juliusz Chroboczek's message of "Sat, 31 May 2014 16:04:33 +0200")

Juliusz Chroboczek <jch@pps.univ-paris-diderot.fr> writes:

> (tramp-detect-ssh-controlmaster)
> nil
> (call-process "ssh" nil t nil "-o" "ControlMaster")
> command-line line 0: missing argument.
> 255
>
> The issue is that tramp-detect-ssh-controlmaster looks for the fixed
> string "Missing ControlMaster argument", while my version of ssh returns
> a differently worded error message.

In the current pretest of Emacs 24.4 as well in recent Tramp versions,
the defun `tramp-detect-ssh-controlmaster' is replaced by a defconst
`tramp-ssh-controlmaster-options'. The defcustom
`tramp-use-ssh-controlmaster-options' controls whether you use it.

> On a related note -- there doesn't seem to be a way of working around that
> without resorting to advice, there's no defvar to tweak.

The native way to fix this in Tramp is tweaking `tramp-methods'. Add a
new method "myssh" with your preferred arguments.

Confirmed, `tramp-methods' is under-documented. I could guide you in
case of problems.

> -- Juliusz

Best regards, Michael.





  reply	other threads:[~2014-06-01  8:20 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-31 14:04 bug#17653: 24.3; Tramp doesn't detect ssh ControlMaster Juliusz Chroboczek
2014-06-01  8:20 ` Michael Albinus [this message]
2014-06-01 11:52   ` Juliusz Chroboczek
2014-06-01 15:42     ` Michael Albinus
     [not found]       ` <878upfpeo4.wl%jch@pps.univ-paris-diderot.fr>
2014-06-03  7:55         ` Michael Albinus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=877g51vy5z.fsf@gmx.de \
    --to=michael.albinus@gmx.de \
    --cc=17653@debbugs.gnu.org \
    --cc=jch@pps.univ-paris-diderot.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).