From: Filipp Gunbin <fgunbin@fastmail.fm>
To: Michael Albinus <michael.albinus@gmx.de>
Cc: 19702@debbugs.gnu.org
Subject: bug#19702: 25.0.50; Tramp with ssh not working with openssh 6.7 while worked with 6.6
Date: Mon, 02 Feb 2015 20:53:58 +0300 [thread overview]
Message-ID: <m2oapckxmx.fsf@fastmail.fm> (raw)
In-Reply-To: <8761bkjqd0.fsf@gmx.de> (Michael Albinus's message of "Mon, 02 Feb 2015 16:16:27 +0100")
On 02/02/2015 16:16 +0100, Michael Albinus wrote:
> Filipp Gunbin <fgunbin@fastmail.fm> writes:
>>
>> Thanks, but it didn't work:
>>
>> 17:02:55.588956 tramp-send-command (6) # exec ssh -l root -o
>> ControlMaster=auto -o
>> ControlPath=/var/folders/yb/0cdss5q52d1848_2th2kp_740000gn/T/tramp.54213PO4.%C
>> -o ControlPersist=no -e none <myhost>
>
> Is the ControlPath still too long? What happens, if you call the command
> directly in the shell?
>
> # ssh -l root -o ControlMaster=auto -o
> ControlPath=/var/folders/yb/0cdss5q52d1848_2th2kp_740000gn/T/tramp.54213PO4.%C
> -o ControlPersist=no -e none <myhost>
>
> And what happens if you call
>
> # ssh -l root -o ControlMaster=auto -o ControlPath=tramp.54213PO4.%C
> -o ControlPersist=no -e none <myhost>
$ ssh -l root -o ControlMaster=auto -o ControlPath='/var/folders/yb/0cdss5q52d1848_2th2kp_740000gn/T/tramp.54213PO4.%C' -o ControlPersist=no -e none <myhost>
ControlPath too long
$ ssh -l root -o ControlMaster=auto -o ControlPath='tramp.54213PO4.%C' -o ControlPersist=no -e none <myhost>
root@<myhost>'s password:
... <asks for password>
Welcome to Ubuntu 12.04.4 LTS (GNU/Linux 3.11.0-15-generic x86_64)
...
>> Aren't values produced by %C supposed to be unique? Then probably the
>> temporary file isn't needed.
>
> No, they are unique for the triple (user, host, port) only. This triple
> could be used also outside Emacs for an ssh connection.
But how does openssh prevent collisions between separate running
instances of itself, then?
Filipp
next prev parent reply other threads:[~2015-02-02 17:53 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-27 14:41 bug#19702: 25.0.50; Tramp with ssh not working with openssh 6.7 while worked with 6.6 Filipp Gunbin
2015-01-27 16:06 ` Michael Albinus
2015-01-27 17:45 ` Filipp Gunbin
2015-02-02 9:20 ` Michael Albinus
2015-02-02 14:09 ` Filipp Gunbin
2015-02-02 15:16 ` Michael Albinus
2015-02-02 17:53 ` Filipp Gunbin [this message]
2015-02-03 9:45 ` Michael Albinus
2015-02-03 12:31 ` Filipp Gunbin
2015-02-03 12:43 ` 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=m2oapckxmx.fsf@fastmail.fm \
--to=fgunbin@fastmail.fm \
--cc=19702@debbugs.gnu.org \
--cc=michael.albinus@gmx.de \
/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).