unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#19702: 25.0.50; Tramp with ssh not working with openssh 6.7 while worked with 6.6
@ 2015-01-27 14:41 Filipp Gunbin
  2015-01-27 16:06 ` Michael Albinus
  0 siblings, 1 reply; 10+ messages in thread
From: Filipp Gunbin @ 2015-01-27 14:41 UTC (permalink / raw)
  To: 19702

I've recently upgraded openssh to 6.7 on MacOS X (from MacPorts) and ssh
in Tramp stopped working.  Logs are below.  Activating openssh 6.6
brings back the working state.

The file being opened is /ssh:root@<myhost>:/opt/ as can be seen in the
logs.

Filipp


*Messages*:

Tramp: Opening connection for root@<myhost> using ssh...
Tramp: Sending command `exec ssh -l root  -o ControlPath=/var/folders/yb/0cdss5q52d1848_2th2kp_740000gn/T/tramp.587MEg.%r@%h:%p -o ControlMaster=auto -o ControlPersist=no -e none <myhost>'
Tramp: Waiting for prompts from remote shell...
Tramp: Sending password
Tramp: Waiting for prompts from remote shell...failed
Tramp: Opening connection for root@<myhost> using ssh...failed
find-file--read-only: /ssh:root@<myhost>:/opt/ does not exist

Tramp log buffer:

;; GNU Emacs: 25.0.50.1 Tramp: 2.2.11-pre -*- mode: outline; -*-
17:34:12.309869 tramp-get-file-exists-command (5) # Finding command to check if file exists
17:34:12.309984 tramp-get-test-command (5) # Finding a suitable `test' command
17:34:12.310350 tramp-maybe-open-connection (3) # Opening connection for root@<myhost> using ssh...
17:34:12.313477 tramp-maybe-open-connection (6) # /bin/sh -i
17:34:12.316213 tramp-wait-for-regexp (6) # 
#$ 
17:34:12.318521 tramp-maybe-open-connection (3) # Sending command `exec ssh -l root  -o ControlPath=/var/folders/yb/0cdss5q52d1848_2th2kp_740000gn/T/tramp.587ZOm.%r@%h:%p -o ControlMaster=auto -o ControlPersist=no -e none <myhost>'
17:34:12.318598 tramp-send-command (6) # exec ssh -l root  -o ControlPath=/var/folders/yb/0cdss5q52d1848_2th2kp_740000gn/T/tramp.587ZOm.%r@%h:%p -o ControlMaster=auto -o ControlPersist=no -e none <myhost>
17:34:12.318933 tramp-process-actions (3) # Waiting for prompts from remote shell...
17:34:12.767357 tramp-process-one-action (5) # Looking for regexp "\(.*ogin\( .*\)?: *\)\'" from remote shell
17:34:12.767533 tramp-process-one-action (5) # Looking for regexp "\(^.*\(\(?:adgangskode\|contrase\(?:\(?:ny\|ñ\)a\)\|geslo\|h\(?:\(?:asł\|esl\)o\)\|iphasiwedi\|jelszó\|l\(?:ozinka\|ösenord\)\|m\(?:ot de passe\|ật khẩu\)\|pa\(?:rola\|s\(?:ahitza\|s\(?: phrase\|ord\|phrase\|wor[dt]\)\|vorto\)\)\|s\(?:alasana\|enha\|laptažodis\)\|wachtwoord\|лозинка\|пароль\|ססמה\|كلمة السر\|गुप्तशब्द\|शब्दकूट\|গুপ্তশব্দ\|পাসওয়ার্ড\|ਪਾਸਵਰਡ\|પાસવર્ડ\|ପ୍ରବେଶ ସଙ୍କେତ\|கடவுச்சொல்\|సంకేతపదము\|ಗುಪ್ತಪದ\|അടയാളവാക്ക്\|රහස්පදය\|ពាក្យសម្ងាត់\|パスワード\|密[码碼]\|암호\)\).*:.? *\)\'" from remote shell
17:34:12.767679 tramp-process-one-action (5) # Call `tramp-action-password'
17:34:12.768007 tramp-action-password (3) # Sending password
17:34:15.925594 tramp-process-one-action (5) # Looking for regexp "\(^.*\(Connection \(?:\(?:clo\|refu\)sed\)\|Host key verification failed\.\|Login \(?:[Ii]ncorrect\)\|N\(?:ame or service not known\|o supported authentication methods left to try!\)\|Permission denied\|\(?:Sorry, try again\|Timeout, server not responding\)\.\).*\|^.*\(Received signal [0-9]+\).*\)\'" from remote shell
17:34:15.925719 tramp-process-one-action (5) # Looking for regexp "\(^[^#$%>
]*[#$%>] *\)\'" from remote shell
17:34:15.925839 tramp-process-one-action (5) # Looking for regexp "\(\(?:^\|.\)[^]#$%>
]*#?[]#$%>] *\(.\[[0-9;]*[a-zA-Z] *\)*\)\'" from remote shell
17:34:15.925920 tramp-process-one-action (5) # Looking for regexp "\(\(Are you sure you want to continue connecting (yes/no)\?\)\s-*\)\'" from remote shell
17:34:15.925982 tramp-process-one-action (5) # Looking for regexp "\(\(\(?:Store key in cache\? (y/\|Update cached key\? (y/n, Return cancels connectio\)n)\)\s-*\)\'" from remote shell
17:34:15.926050 tramp-process-one-action (5) # Looking for regexp "\(\(TERM = (.*)\|Terminal type\? \[.*\]\)\s-*\)\'" from remote shell
17:34:15.926103 tramp-process-one-action (5) # Looking for regexp "\(\)\'" from remote shell
17:34:15.926154 tramp-process-one-action (5) # Call `tramp-action-process-alive'
17:34:15.926305 tramp-process-one-action (5) # Looking for regexp "\(.*ogin\( .*\)?: *\)\'" from remote shell
17:34:15.926395 tramp-process-one-action (5) # Looking for regexp "\(^.*\(\(?:adgangskode\|contrase\(?:\(?:ny\|ñ\)a\)\|geslo\|h\(?:\(?:asł\|esl\)o\)\|iphasiwedi\|jelszó\|l\(?:ozinka\|ösenord\)\|m\(?:ot de passe\|ật khẩu\)\|pa\(?:rola\|s\(?:ahitza\|s\(?: phrase\|ord\|phrase\|wor[dt]\)\|vorto\)\)\|s\(?:alasana\|enha\|laptažodis\)\|wachtwoord\|лозинка\|пароль\|ססמה\|كلمة السر\|गुप्तशब्द\|शब्दकूट\|গুপ্তশব্দ\|পাসওয়ার্ড\|ਪਾਸਵਰਡ\|પાસવર્ડ\|ପ୍ରବେଶ ସଙ୍କେତ\|கடவுச்சொல்\|సంకేతపదము\|ಗುಪ್ತಪದ\|അടയാളവാക്ക്\|රහස්පදය\|ពាក្យសម្ងាត់\|パスワード\|密[码碼]\|암호\)\).*:.? *\)\'" from remote shell
17:34:15.926521 tramp-process-one-action (5) # Looking for regexp "\(^.*\(Connection \(?:\(?:clo\|refu\)sed\)\|Host key verification failed\.\|Login \(?:[Ii]ncorrect\)\|N\(?:ame or service not known\|o supported authentication methods left to try!\)\|Permission denied\|\(?:Sorry, try again\|Timeout, server not responding\)\.\).*\|^.*\(Received signal [0-9]+\).*\)\'" from remote shell
17:34:15.926588 tramp-process-one-action (5) # Looking for regexp "\(^[^#$%>
]*[#$%>] *\)\'" from remote shell
17:34:15.926643 tramp-process-one-action (5) # Looking for regexp "\(\(?:^\|.\)[^]#$%>
]*#?[]#$%>] *\(.\[[0-9;]*[a-zA-Z] *\)*\)\'" from remote shell
17:34:15.926693 tramp-process-one-action (5) # Looking for regexp "\(\(Are you sure you want to continue connecting (yes/no)\?\)\s-*\)\'" from remote shell
17:34:15.926746 tramp-process-one-action (5) # Looking for regexp "\(\(\(?:Store key in cache\? (y/\|Update cached key\? (y/n, Return cancels connectio\)n)\)\s-*\)\'" from remote shell
17:34:15.926794 tramp-process-one-action (5) # Looking for regexp "\(\(TERM = (.*)\|Terminal type\? \[.*\]\)\s-*\)\'" from remote shell
17:34:15.926841 tramp-process-one-action (5) # Looking for regexp "\(\)\'" from remote shell
17:34:15.926883 tramp-process-one-action (5) # Call `tramp-action-process-alive'
17:34:15.931202 tramp-process-one-action (5) # Looking for regexp "\(.*ogin\( .*\)?: *\)\'" from remote shell
17:34:15.932269 tramp-process-one-action (5) # Looking for regexp "\(^.*\(\(?:adgangskode\|contrase\(?:\(?:ny\|ñ\)a\)\|geslo\|h\(?:\(?:asł\|esl\)o\)\|iphasiwedi\|jelszó\|l\(?:ozinka\|ösenord\)\|m\(?:ot de passe\|ật khẩu\)\|pa\(?:rola\|s\(?:ahitza\|s\(?: phrase\|ord\|phrase\|wor[dt]\)\|vorto\)\)\|s\(?:alasana\|enha\|laptažodis\)\|wachtwoord\|лозинка\|пароль\|ססמה\|كلمة السر\|गुप्तशब्द\|शब्दकूट\|গুপ্তশব্দ\|পাসওয়ার্ড\|ਪਾਸਵਰਡ\|પાસવર્ડ\|ପ୍ରବେଶ ସଙ୍କେତ\|கடவுச்சொல்\|సంకేతపదము\|ಗುಪ್ತಪದ\|അടയാളവാക്ക്\|රහස්පදය\|ពាក្យសម្ងាត់\|パスワード\|密[码碼]\|암호\)\).*:.? *\)\'" from remote shell
17:34:15.932625 tramp-process-one-action (5) # Looking for regexp "\(^.*\(Connection \(?:\(?:clo\|refu\)sed\)\|Host key verification failed\.\|Login \(?:[Ii]ncorrect\)\|N\(?:ame or service not known\|o supported authentication methods left to try!\)\|Permission denied\|\(?:Sorry, try again\|Timeout, server not responding\)\.\).*\|^.*\(Received signal [0-9]+\).*\)\'" from remote shell
17:34:15.932762 tramp-process-one-action (5) # Looking for regexp "\(^[^#$%>
]*[#$%>] *\)\'" from remote shell
17:34:15.932856 tramp-process-one-action (5) # Looking for regexp "\(\(?:^\|.\)[^]#$%>
]*#?[]#$%>] *\(.\[[0-9;]*[a-zA-Z] *\)*\)\'" from remote shell
17:34:15.932960 tramp-process-one-action (5) # Looking for regexp "\(\(Are you sure you want to continue connecting (yes/no)\?\)\s-*\)\'" from remote shell
17:34:15.932995 tramp-process-one-action (5) # Looking for regexp "\(\(\(?:Store key in cache\? (y/\|Update cached key\? (y/n, Return cancels connectio\)n)\)\s-*\)\'" from remote shell
17:34:15.933037 tramp-process-one-action (5) # Looking for regexp "\(\(TERM = (.*)\|Terminal type\? \[.*\]\)\s-*\)\'" from remote shell
17:34:15.933082 tramp-process-one-action (5) # Looking for regexp "\(\)\'" from remote shell
17:34:15.933123 tramp-process-one-action (5) # Call `tramp-action-process-alive'
17:34:15.933185 tramp-process-actions (6) # 
root@<myhost>'s password: 
unix_listener: "/var/folders/yb/0cdss5q52d1848_2th2kp_740000gn/T/tramp.587ZOm.root@<myhost>:22.rIZDlnMe9NViEUbt" too long for Unix domain socket.
17:34:15.933268 tramp-process-sentinel (5) # Sentinel called: `#<process *tramp/ssh root@<myhost>*>' `exited abnormally with code 255
'
17:34:15.934827 tramp-process-actions (1) # File error: Tramp failed to connect.  If this happens repeatedly, try
    `M-x tramp-cleanup-this-connection'
17:34:15.935280 tramp-maybe-open-connection (3) # Opening connection for root@<myhost> using ssh...failed
17:34:15.935420 tramp-file-name-handler (1) # Suppress received in operation (file-exists-p /ssh:root@<myhost>:/opt/)
17:34:15.936333 tramp-get-file-exists-command (5) # Finding command to check if file exists
17:34:15.936414 tramp-get-test-command (5) # Finding a suitable `test' command
17:34:15.936502 tramp-file-name-handler (1) # Suppress received in operation (file-exists-p /ssh:root@<myhost>:/opt/)





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

* bug#19702: 25.0.50; Tramp with ssh not working with openssh 6.7 while worked with 6.6
  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
  0 siblings, 1 reply; 10+ messages in thread
From: Michael Albinus @ 2015-01-27 16:06 UTC (permalink / raw)
  To: Filipp Gunbin; +Cc: 19702

Filipp Gunbin <fgunbin@fastmail.fm> writes:

Hi Filipp,

> I've recently upgraded openssh to 6.7 on MacOS X (from MacPorts) and ssh
> in Tramp stopped working.  Logs are below.  Activating openssh 6.6
> brings back the working state.
>
> Tramp log buffer:
>
> 17:34:12.318598 tramp-send-command (6) # exec ssh -l root -o
> ControlPath=/var/folders/yb/0cdss5q52d1848_2th2kp_740000gn/T/tramp.587ZOm.%r@%h:%p
> -o ControlMaster=auto -o ControlPersist=no -e none <myhost>
> 17:34:15.933185 tramp-process-actions (6) # 
> root@<myhost>'s password: 
> unix_listener: "/var/folders/yb/0cdss5q52d1848_2th2kp_740000gn/T/tramp.587ZOm.root@<myhost>:22.rIZDlnMe9NViEUbt" too long for Unix domain socket.

You see the error message: the file name of the socket is too long. What
has changed wrt openssh 6.6? Has the template Tramp uses being expanded
differently? And why is there the suffix ".rIZDlnMe9NViEUbt" after the
port number?

As workaround, you could change the template Tramp uses in
`tramp-ssh-controlmaster-options', or you could disable those options
via `tramp-use-ssh-controlmaster-options'.

> Filipp

Best regards, Michael.





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

* bug#19702: 25.0.50; Tramp with ssh not working with openssh 6.7 while worked with 6.6
  2015-01-27 16:06 ` Michael Albinus
@ 2015-01-27 17:45   ` Filipp Gunbin
  2015-02-02  9:20     ` Michael Albinus
  0 siblings, 1 reply; 10+ messages in thread
From: Filipp Gunbin @ 2015-01-27 17:45 UTC (permalink / raw)
  To: Michael Albinus; +Cc: 19702

Michael,

On 27/01/2015 17:06 +0100, Michael Albinus wrote:

> Filipp Gunbin <fgunbin@fastmail.fm> writes:
>
> Hi Filipp,
>
>> I've recently upgraded openssh to 6.7 on MacOS X (from MacPorts) and ssh
>> in Tramp stopped working.  Logs are below.  Activating openssh 6.6
>> brings back the working state.
>>
>> Tramp log buffer:
>>
>> 17:34:12.318598 tramp-send-command (6) # exec ssh -l root -o
>> ControlPath=/var/folders/yb/0cdss5q52d1848_2th2kp_740000gn/T/tramp.587ZOm.%r@%h:%p
>> -o ControlMaster=auto -o ControlPersist=no -e none <myhost>
>> 17:34:15.933185 tramp-process-actions (6) # 
>> root@<myhost>'s password: 
>> unix_listener:
>> "/var/folders/yb/0cdss5q52d1848_2th2kp_740000gn/T/tramp.587ZOm.root@<myhost>:22.rIZDlnMe9NViEUbt"
>> too long for Unix domain socket.
>
> You see the error message: the file name of the socket is too long. What
> has changed wrt openssh 6.6? Has the template Tramp uses being expanded
> differently? And why is there the suffix ".rIZDlnMe9NViEUbt" after the
> port number?

Release notes for openssh 6.7 [1] tell:

 * ssh(1): Add a %C escape sequence for LocalCommand and ControlPath
   that expands to a unique identifer based on a hash of the tuple of
   (local host, remote user, hostname, port). Helps avoid exceeding
   miserly pathname limits for Unix domain sockets in multiplexing
   control paths; bz#2220

I changed `tramp-ssh-controlmaster-options' as follows:

(setq tramp-ssh-controlmaster-options "-o ControlPath=%%C -o
ControlMaster=auto -o ControlPersist=no")

And it started working.

BTW, "name is too long" errors also occurred with 6.6, too.  And the
template was expanded similarly, I checked that.

The original value contained "%t.%%r@%%h:%%p".  %r, %h and %p could be
substituted by %C as the above doc says.  But what about %t?  It's a
temporary file as I understand and is substituted by Tramp, not by ssh.
Is it critical that it should be present in the resulting file name?

Filipp

[1] http://www.openssh.com/txt/release-6.7





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

* bug#19702: 25.0.50; Tramp with ssh not working with openssh 6.7 while worked with 6.6
  2015-01-27 17:45   ` Filipp Gunbin
@ 2015-02-02  9:20     ` Michael Albinus
  2015-02-02 14:09       ` Filipp Gunbin
  0 siblings, 1 reply; 10+ messages in thread
From: Michael Albinus @ 2015-02-02  9:20 UTC (permalink / raw)
  To: Filipp Gunbin; +Cc: 19702

Filipp Gunbin <fgunbin@fastmail.fm> writes:

> Michael,

Hi Filipp,

> Release notes for openssh 6.7 [1] tell:
>
>  * ssh(1): Add a %C escape sequence for LocalCommand and ControlPath
>    that expands to a unique identifer based on a hash of the tuple of
>    (local host, remote user, hostname, port). Helps avoid exceeding
>    miserly pathname limits for Unix domain sockets in multiplexing
>    control paths; bz#2220
>
> I changed `tramp-ssh-controlmaster-options' as follows:
>
> (setq tramp-ssh-controlmaster-options "-o ControlPath=%%C -o
> ControlMaster=auto -o ControlPersist=no")
>
> And it started working.

I have committed a patch to the emacs-24 branch which uses %C in
ControlPath if possible. Could you, pls, check? I have no openssh 6.7
installed, so I cannot test myself.

> The original value contained "%t.%%r@%%h:%%p".  %r, %h and %p could be
> substituted by %C as the above doc says.  But what about %t?  It's a
> temporary file as I understand and is substituted by Tramp, not by ssh.
> Is it critical that it should be present in the resulting file name?

In the past there were problems when Tramp used the same ControlPath
like ssh connections started/stopped outside Emacs. That's why Tramp
uses its own one.

> Filipp

Best regards, Michael.





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

* bug#19702: 25.0.50; Tramp with ssh not working with openssh 6.7 while worked with 6.6
  2015-02-02  9:20     ` Michael Albinus
@ 2015-02-02 14:09       ` Filipp Gunbin
  2015-02-02 15:16         ` Michael Albinus
  0 siblings, 1 reply; 10+ messages in thread
From: Filipp Gunbin @ 2015-02-02 14:09 UTC (permalink / raw)
  To: Michael Albinus; +Cc: 19702

Michael,

On 02/02/2015 10:20 +0100, Michael Albinus wrote:

> I have committed a patch to the emacs-24 branch which uses %C in
> ControlPath if possible. Could you, pls, check? I have no openssh 6.7
> installed, so I cannot test myself.

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>
17:02:55.606731 tramp-process-one-action (5) # Call `tramp-action-process-alive'
17:02:55.606825 tramp-process-actions (6) #
ControlPath too long^
17:02:55.606932 tramp-process-sentinel (5) # Sentinel called: `#<process *tramp/ssh root@<myhost>*>' `exited abnormally with code 255'
17:02:55.610263 tramp-process-actions (1) # File error: Tramp failed to connect.  If this happens repeatedly, try
`M-x tramp-cleanup-this-connection'
17:02:58.732912 tramp-maybe-open-connection (3) # Opening connection for root@<myhost> using ssh...failed

>> The original value contained "%t.%%r@%%h:%%p".  %r, %h and %p could be
>> substituted by %C as the above doc says.  But what about %t?  It's a
>> temporary file as I understand and is substituted by Tramp, not by ssh.
>> Is it critical that it should be present in the resulting file name?
>
> In the past there were problems when Tramp used the same ControlPath
> like ssh connections started/stopped outside Emacs. That's why Tramp
> uses its own one.

Aren't values produced by %C supposed to be unique?  Then probably the
temporary file isn't needed.

Filipp





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

* bug#19702: 25.0.50; Tramp with ssh not working with openssh 6.7 while worked with 6.6
  2015-02-02 14:09       ` Filipp Gunbin
@ 2015-02-02 15:16         ` Michael Albinus
  2015-02-02 17:53           ` Filipp Gunbin
  0 siblings, 1 reply; 10+ messages in thread
From: Michael Albinus @ 2015-02-02 15:16 UTC (permalink / raw)
  To: Filipp Gunbin; +Cc: 19702

Filipp Gunbin <fgunbin@fastmail.fm> writes:

> Michael,

Hi Filipp,

>> I have committed a patch to the emacs-24 branch which uses %C in
>> ControlPath if possible. Could you, pls, check? I have no openssh 6.7
>> installed, so I cannot test myself.
>
> 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>

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

> Filipp

Best regards, Michael.





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

* bug#19702: 25.0.50; Tramp with ssh not working with openssh 6.7 while worked with 6.6
  2015-02-02 15:16         ` Michael Albinus
@ 2015-02-02 17:53           ` Filipp Gunbin
  2015-02-03  9:45             ` Michael Albinus
  0 siblings, 1 reply; 10+ messages in thread
From: Filipp Gunbin @ 2015-02-02 17:53 UTC (permalink / raw)
  To: Michael Albinus; +Cc: 19702

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





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

* bug#19702: 25.0.50; Tramp with ssh not working with openssh 6.7 while worked with 6.6
  2015-02-02 17:53           ` Filipp Gunbin
@ 2015-02-03  9:45             ` Michael Albinus
  2015-02-03 12:31               ` Filipp Gunbin
  0 siblings, 1 reply; 10+ messages in thread
From: Michael Albinus @ 2015-02-03  9:45 UTC (permalink / raw)
  To: Filipp Gunbin; +Cc: 19702

Filipp Gunbin <fgunbin@fastmail.fm> writes:

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

I've changed it like this. Could you, please, test again?

> Filipp

Best regards, Michael.





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

* bug#19702: 25.0.50; Tramp with ssh not working with openssh 6.7 while worked with 6.6
  2015-02-03  9:45             ` Michael Albinus
@ 2015-02-03 12:31               ` Filipp Gunbin
  2015-02-03 12:43                 ` Michael Albinus
  0 siblings, 1 reply; 10+ messages in thread
From: Filipp Gunbin @ 2015-02-03 12:31 UTC (permalink / raw)
  To: Michael Albinus; +Cc: 19702

On 03/02/2015 10:45 +0100, Michael Albinus wrote:

> Filipp Gunbin <fgunbin@fastmail.fm> writes:
>
>> $ 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)
>> ...
>
> I've changed it like this. Could you, please, test again?

It's ok now, thanks!





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

* bug#19702: 25.0.50; Tramp with ssh not working with openssh 6.7 while worked with 6.6
  2015-02-03 12:31               ` Filipp Gunbin
@ 2015-02-03 12:43                 ` Michael Albinus
  0 siblings, 0 replies; 10+ messages in thread
From: Michael Albinus @ 2015-02-03 12:43 UTC (permalink / raw)
  To: Filipp Gunbin; +Cc: 19702-done

Version: 24.5

Filipp Gunbin <fgunbin@fastmail.fm> writes:

>> I've changed it like this. Could you, please, test again?
>
> It's ok now, thanks!

Thanks for testing, I'm closing the bug.

Best regards, Michael.





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

end of thread, other threads:[~2015-02-03 12:43 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2015-02-03  9:45             ` Michael Albinus
2015-02-03 12:31               ` Filipp Gunbin
2015-02-03 12:43                 ` 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).