tramp-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tramp (2.3.3.26.1); Tramp hangs when trying to connect in emacs for


From: Jeffrey Gennari
Subject: Re: tramp (2.3.3.26.1); Tramp hangs when trying to connect in emacs for OSX 26.1
Date: Tue, 12 Jun 2018 13:54:16 +0000

Hi Michael,

I ran this command:

emacs -Q --eval '(setq tramp-verbose 10)' --eval '(setq tramp-debug-buffer t)' 
/ssh:address@hidden

And the bug buffer changed a bit. It is below. I’m trying the latest tramp now.

Thanks,
Jeff 


----:---F1  *scratch*      All L1     
(Fundamental)------------------------------------------------------------------------------------------------------------
File Edit Options Buffers Tools Help
# Opening connection for address@hidden using ssh...
# ssh pd2 -l jsg -e none
# Waiting for prompts from remote shell
# Waiting 60s for prompt from remote shell
# Looking for regexp "^.*\([pP]assword\|passphrase\).*:address@hidden *" from 
remote shell
# Looking for regexp ".*ogin\( .*\)?: *" from remote shell
# Looking for regexp "^[^#$%>
]*[#$%>] *" from remote shell
# Looking for regexp "^[^#$%>
]*[#$%>] *\(^[\[[0-9;]*[a-zA-Z] *\)*" from remote shell
# Looking for regexp "^.*\(Connection \(?:\(?:clo\|refu\)sed\)\|Host key 
verification failed\.\|Login \(?:[Ii]ncorrect\)\|Name or service not 
known\|\(?:Permi\
ssion denied\|Sorry, try again\)\.\).*\|^.*\(Received signal [0-9]+\).*" from 
remote shell
# Looking for regexp "\(Are you sure you want to continue connecting 
(yes/no)\?\)\s-*" from remote shell
# Looking for regexp "\(\(?:Store key in cache\? (y/\|Update cached key\? (y/n, 
Return cancels connectio\)n)\)\s-*" from remote shell
# Looking for regexp "\(TERM = (.*)\|Terminal type\? \[.*\]\)\s-*" from remote 
shell
# Looking for regexp "" from remote shell
# Looking for regexp "^.*\([pP]assword\|passphrase\).*:address@hidden *" from 
remote shell
# Looking for regexp ".*ogin\( .*\)?: *" from remote shell
# Looking for regexp "^[^#$%>
]*[#$%>] *" from remote shell
# Looking for regexp "^[^#$%>
]*[#$%>] *\(^[\[[0-9;]*[a-zA-Z] *\)*" from remote shell
# Looking for regexp "^.*\(Connection \(?:\(?:clo\|refu\)sed\)\|Host key 
verification failed\.\|Login \(?:[Ii]ncorrect\)\|Name or service not 
known\|\(?:Permi\
ssion denied\|Sorry, try again\)\.\).*\|^.*\(Received signal [0-9]+\).*" from 
remote shell
# Looking for regexp "\(Are you sure you want to continue connecting 
(yes/no)\?\)\s-*" from remote shell
# Looking for regexp "\(\(?:Store key in cache\? (y/\|Update cached key\? (y/n, 
Return cancels connectio\)n)\)\s-*" from remote shell
# Looking for regexp "\(TERM = (.*)\|Terminal type\? \[.*\]\)\s-*" from remote 
shell
# Looking for regexp "" from remote shell
# Looking for regexp "^.*\([pP]assword\|passphrase\).*:address@hidden *" from 
remote shell
# Looking for regexp ".*ogin\( .*\)?: *" from remote shell
# Looking for regexp "^[^#$%>
]*[#$%>] *" from remote shell
# Looking for regexp "^[^#$%>
]*[#$%>] *\(^[\[[0-9;]*[a-zA-Z] *\)*" from remote shell
# Looking for regexp "^.*\(Connection \(?:\(?:clo\|refu\)sed\)\|Host key 
verification failed\.\|Login \(?:[Ii]ncorrect\)\|Name or service not 
known\|\(?:Permi\
ssion denied\|Sorry, try again\)\.\).*\|^.*\(Received signal [0-9]+\).*" from 
remote shell
# Looking for regexp "\(Are you sure you want to continue connecting 
(yes/no)\?\)\s-*" from remote shell
# Looking for regexp "\(\(?:Store key in cache\? (y/\|Update cached key\? (y/n, 
Return cancels connectio\)n)\)\s-*" from remote shell
# Looking for regexp "\(TERM = (.*)\|Terminal type\? \[.*\]\)\s-*" from remote 
shell
# Looking for regexp "" from remote shell
# Looking for regexp "^.*\([pP]assword\|passphrase\).*:address@hidden *" from 
remote shell
# Looking for regexp ".*ogin\( .*\)?: *" from remote shell
# Looking for regexp "^[^#$%>
]*[#$%>] *" from remote shell
# Looking for regexp "^[^#$%>
]*[#$%>] *\(^[\[[0-9;]*[a-zA-Z] *\)*" from remote shell
# Looking for regexp "^.*\(Connection \(?:\(?:clo\|refu\)sed\)\|Host key 
verification failed\.\|Login \(?:[Ii]ncorrect\)\|Name or service not 
known\|\(?:Permi\
ssion denied\|Sorry, try again\)\.\).*\|^.*\(Received signal [0-9]+\).*" from 
remote shell
# Looking for regexp "\(Are you sure you want to continue connecting 
(yes/no)\?\)\s-*" from remote shell
# Looking for regexp "\(\(?:Store key in cache\? (y/\|Update cached key\? (y/n, 
Return cancels connectio\)n)\)\s-*" from remote shell
# Looking for regexp "\(TERM = (.*)\|Terminal type\? \[.*\]\)\s-*" from remote 
shell
# Looking for regexp "" from remote shell

> On Jun 9, 2018, at 3:59 AM, Michael Albinus <address@hidden> wrote:
> 
> Jeffrey Gennari <address@hidden> writes:
> 
>> Hi Michael,
> 
> Hi Jeffrey,
> 
>> Attached is the base64 encoded debug buffer.
> 
> Thanks. The prompt from the remote shell is a single "$", no space. In
> theory, this shouldn't matter; Tramp shall recognize this prompt as well.
> 
> Strange. What puzzles me a bit is, that Tramp sends commands not common
> for the initialization step. I have the impression, that you run all
> these tests from an Emacs, which has already a Tramp history.
> 
> Maybe you could rerun the test from a fresh plain Emacs. Please try the
> following:
> 
> --8<---------------cut here---------------start------------->8---
> emacs -Q --eval '(setq tramp-verbose 10)' /ssh:address@hidden:
> --8<---------------cut here---------------end--------------->8---
> 
> If this also fails, maybe you could try it from another machine. Your
> local machine runs macOS, using a GNU/Linux machine could change the
> results. At least we would know that it isn't a problem of the remote
> machine.
> 
> Another idea is to try latest Tramp sources from git. Recently, there
> has been a problem with macOS, which was fixed there. However, the
> situation was different to yours, it was a problem using Tramp on a
> local MS Windows machine, connecting a remote macOS machine.
> 
> Unfortunately, I'm bad in testing macOS. I do not run such a machine,
> neither local nor remote.
> 
>> Thanks,
>> Jeff
> 
> Best regards, Michael.
> 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]