GNU bug report logs - #19702
25.0.50; Tramp with ssh not working with openssh 6.7 while worked with 6.6

Previous Next

Package: emacs;

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


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Michael Albinus <michael.albinus <at> gmx.de>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#19702: closed (25.0.50; Tramp with ssh not working with
 openssh 6.7 while worked with 6.6)
Date: Tue, 03 Feb 2015 12:44:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Tue, 03 Feb 2015 13:43:40 +0100
with message-id <87mw4v17yb.fsf <at> gmx.de>
and subject line Re: bug#19702: 25.0.50; Tramp with ssh not working with openssh 6.7 while worked with 6.6
has caused the debbugs.gnu.org bug report #19702,
regarding 25.0.50; Tramp with ssh not working with openssh 6.7 while worked with 6.6
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
19702: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=19702
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Filipp Gunbin <fgunbin <at> fastmail.fm>
To: bug-gnu-emacs <at> gnu.org
Subject: 25.0.50;
 Tramp with ssh not working with openssh 6.7 while worked with 6.6
Date: Tue, 27 Jan 2015 17:41:26 +0300
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/)


[Message part 3 (message/rfc822, inline)]
From: Michael Albinus <michael.albinus <at> gmx.de>
To: Filipp Gunbin <fgunbin <at> fastmail.fm>
Cc: 19702-done <at> debbugs.gnu.org
Subject: Re: bug#19702: 25.0.50;
 Tramp with ssh not working with openssh 6.7 while worked with 6.6
Date: Tue, 03 Feb 2015 13:43:40 +0100
Version: 24.5

Filipp Gunbin <fgunbin <at> 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.


This bug report was last modified 9 years and 212 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.