GNU bug report logs -
#19702
25.0.50; Tramp with ssh not working with openssh 6.7 while worked with 6.6
Previous Next
Reported by: Filipp Gunbin <fgunbin <at> fastmail.fm>
Date: Tue, 27 Jan 2015 14:42:02 UTC
Severity: normal
Merged with 19861,
21374,
21740
Found in versions 24.4, 25.0.50
Fixed in version 24.5
Done: Michael Albinus <michael.albinus <at> gmx.de>
Bug is archived. No further changes may be made.
Full log
Message #23 received at 19702 <at> debbugs.gnu.org (full text, mbox):
On 02/02/2015 16:16 +0100, Michael Albinus wrote:
> Filipp Gunbin <fgunbin <at> 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
This bug report was last modified 9 years and 211 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.