[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: tramp (2.1.8-pre); can't connect to remote Solaris or Linux system r
From: |
Ted Zlatanov |
Subject: |
Re: tramp (2.1.8-pre); can't connect to remote Solaris or Linux system running zsh |
Date: |
Tue, 20 Feb 2007 16:16:00 -0500 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.92 (gnu/linux) |
On Tue, 20 Feb 2007 21:50:41 +0100 Michael Albinus <address@hidden> wrote:
MA> Ted Zlatanov <address@hidden> writes:
>> Here's what I have in .zshrc now (to be sure the dumb terminal
>> detection is working):
>>
>> echo Using terminal $TERM
>> # same as unsetopt zle
>> [ $TERM = "dumb" ] && setopt NO_zle && echo zle off
>>
>> Which produces in the ssh buffer:
>>
>> Last login: Tue Feb 20 15:36:29 2007 from dhcp-65-302.ken
>> Using terminal dumb
>> zle off
>> %Z 15:40 [<tzlatano>@prod-perf-db01: /u0/tzlatano]%
MA> ... but you see in your prompt that the zle is still enabled. I'm not
MA> familiar with zsh, but you might need to apply "unsetopt zle" as
MA> indicated in the FAQ.
I put just this in my .zshrc:
unsetopt zle
with this result in the Tramp SSH buffer:
Last login: Tue Feb 20 16:01:53 2007 from dhcp-65-302.ken
%prod-perf-db01%
and the debug log is as follows at the end. Tramp still hangs.
Either the FAQ is wrong, or I'm doing something wrong, or there's a
bug in my version of zsh. I'm pretty sure I've followed the FAQ and
logging into the machine produces the correct result, line editing is
disabled:
# log in, then push up and down arrow
%prod-perf-db01% ^[[A^[[B
zsh: bad pattern: ^[[A^[[B
prod-perf-db01%
The first % on the first line after I log in is bold on an xterm. I
attach the output of running "ssh host | cat -v > logfile" and typing
"exit" blindly, so you can see the actual escape sequences generated.
Maybe those are the problem.
This is Solaris 10, latest package CSWzsh installed from blastwave.org.
Thanks!
Ted
m
Description: single login cat -v
16:03:48 tramp-get-test-command (5) # Finding a suitable `test' command
16:03:48 tramp-get-connection-property (7) # process-name nil
16:03:48 tramp-maybe-open-connection (3) # Opening connection for
address@hidden using ssh...
16:03:48 tramp-get-connection-property (7) # process-name nil
16:03:48 tramp-get-connection-property (7) # process-buffer nil
16:03:48 tramp-maybe-open-connection (6) # /bin/sh
16:03:48 tramp-maybe-open-connection (3) # Waiting 60s for local shell to come
up...
16:03:48 tramp-get-connection-property (7) # check-remote-echo nil
16:03:48 tramp-get-connection-property (7) # check-remote-echo nil
16:03:48 tramp-get-connection-property (7) # check-remote-echo nil
16:03:48 tramp-get-connection-property (7) # check-remote-echo nil
16:03:48 tramp-wait-for-regexp (6) #
$
16:03:48 tramp-get-connection-property (7) # process-buffer nil
16:03:48 tramp-maybe-open-connection (3) # Sending command `ssh mako-3 -l
tzlatano -e none && exit || exit'
16:03:48 tramp-get-connection-property (7) # process-name nil
16:03:48 tramp-get-connection-property (7) # remote-echo nil
16:03:48 tramp-send-command (6) # ssh mako-3 -l tzlatano -e none && exit ||
exit
16:03:48 tramp-get-connection-property (7) # process-name nil
16:03:48 tramp-get-connection-property (7) # chunksize nil
16:03:48 tramp-set-connection-property (7) # last-cmd-time (17883 25140 493941)
16:03:48 tramp-get-connection-property (7) # process-buffer nil
16:03:48 tramp-process-actions (3) # Waiting for prompts from remote shell
16:03:48 tramp-process-one-action (5) # Looking for regexp ".*ogin\( .*\)?:
*\'" from remote shell
16:03:48 tramp-get-connection-property (7) # check-remote-echo nil
16:03:48 tramp-get-connection-property (7) # check-remote-echo nil
16:03:48 tramp-process-one-action (5) # Looking for regexp
"^.*\([pP]assword\|[pP]assphrase\).*:
16:03:48 tramp-get-connection-property (7) # check-remote-echo nil
16:03:48 tramp-get-connection-property (7) # check-remote-echo nil
16:03:48 tramp-process-one-action (5) # Looking for regexp "^.*\(Connection
\(?:closed by foreign host\.\|refused\)\|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\.\|Tramp
connection closed\).*\|^.*\(Received signal [0-9]+\).*\'" from remote shell
16:03:48 tramp-get-connection-property (7) # check-remote-echo nil
16:03:48 tramp-get-connection-property (7) # check-remote-echo nil
16:03:48 tramp-process-one-action (5) # Looking for regexp "^[^#$%>
]*[#$%>] *\'" from remote shell
16:03:48 tramp-get-connection-property (7) # check-remote-echo nil
16:03:48 tramp-get-connection-property (7) # check-remote-echo nil
16:03:48 tramp-process-one-action (5) # Looking for regexp "^[^#$%>
]*[#$%>] *\(\[[0-9;]*[a-zA-Z] *\)*\'" from remote shell
16:03:48 tramp-get-connection-property (7) # check-remote-echo nil
16:03:48 tramp-get-connection-property (7) # check-remote-echo nil
16:03:48 tramp-process-one-action (5) # Looking for regexp "\(Are you sure you
want to continue connecting (yes/no)\?\)\s-*\'" from remote shell
16:03:48 tramp-get-connection-property (7) # check-remote-echo nil
16:03:48 tramp-get-connection-property (7) # check-remote-echo nil
16:03:48 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
16:03:48 tramp-get-connection-property (7) # check-remote-echo nil
16:03:48 tramp-get-connection-property (7) # check-remote-echo nil
16:03:48 tramp-process-one-action (5) # Looking for regexp "\(TERM =
(.*)\|Terminal type\? \[.*\]\)\s-*\'" from remote shell
16:03:48 tramp-get-connection-property (7) # check-remote-echo nil
16:03:48 tramp-get-connection-property (7) # check-remote-echo nil
16:03:48 tramp-process-one-action (5) # Looking for regexp "\'" from remote
shell
16:03:48 tramp-get-connection-property (7) # check-remote-echo nil
16:03:48 tramp-get-connection-property (7) # check-remote-echo nil
16:03:48 tramp-process-one-action (5) # Call `tramp-action-process-alive'
16:03:48 tramp-process-one-action (5) # Looking for regexp ".*ogin\( .*\)?:
*\'" from remote shell
16:03:48 tramp-get-connection-property (7) # check-remote-echo nil
16:03:48 tramp-get-connection-property (7) # check-remote-echo nil
16:03:48 tramp-process-one-action (5) # Looking for regexp
"^.*\([pP]assword\|[pP]assphrase\).*:
16:03:48 tramp-get-connection-property (7) # check-remote-echo nil
16:03:48 tramp-get-connection-property (7) # check-remote-echo nil
16:03:48 tramp-process-one-action (5) # Looking for regexp "^.*\(Connection
\(?:closed by foreign host\.\|refused\)\|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\.\|Tramp
connection closed\).*\|^.*\(Received signal [0-9]+\).*\'" from remote shell
16:03:48 tramp-get-connection-property (7) # check-remote-echo nil
16:03:48 tramp-get-connection-property (7) # check-remote-echo nil
16:03:48 tramp-process-one-action (5) # Looking for regexp "^[^#$%>
]*[#$%>] *\'" from remote shell
16:03:48 tramp-get-connection-property (7) # check-remote-echo nil
16:03:48 tramp-get-connection-property (7) # check-remote-echo nil
16:03:48 tramp-process-one-action (5) # Looking for regexp "^[^#$%>
]*[#$%>] *\(\[[0-9;]*[a-zA-Z] *\)*\'" from remote shell
16:03:48 tramp-get-connection-property (7) # check-remote-echo nil
16:03:48 tramp-get-connection-property (7) # check-remote-echo nil
16:03:48 tramp-process-one-action (5) # Looking for regexp "\(Are you sure you
want to continue connecting (yes/no)\?\)\s-*\'" from remote shell
16:03:48 tramp-get-connection-property (7) # check-remote-echo nil
16:03:48 tramp-get-connection-property (7) # check-remote-echo nil
16:03:48 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
16:03:48 tramp-get-connection-property (7) # check-remote-echo nil
16:03:48 tramp-get-connection-property (7) # check-remote-echo nil
16:03:48 tramp-process-one-action (5) # Looking for regexp "\(TERM =
(.*)\|Terminal type\? \[.*\]\)\s-*\'" from remote shell
16:03:48 tramp-get-connection-property (7) # check-remote-echo nil
16:03:48 tramp-get-connection-property (7) # check-remote-echo nil
16:03:48 tramp-process-one-action (5) # Looking for regexp "\'" from remote
shell
16:03:48 tramp-get-connection-property (7) # check-remote-echo nil
16:03:48 tramp-get-connection-property (7) # check-remote-echo nil
16:03:48 tramp-process-one-action (5) # Call `tramp-action-process-alive'
16:03:49 tramp-process-one-action (5) # Looking for regexp ".*ogin\( .*\)?:
*\'" from remote shell
16:03:49 tramp-get-connection-property (7) # check-remote-echo nil
16:03:49 tramp-get-connection-property (7) # check-remote-echo nil
16:03:49 tramp-process-one-action (5) # Looking for regexp
"^.*\([pP]assword\|[pP]assphrase\).*:
16:03:49 tramp-get-connection-property (7) # check-remote-echo nil
16:03:49 tramp-get-connection-property (7) # check-remote-echo nil
16:03:49 tramp-process-one-action (5) # Looking for regexp "^.*\(Connection
\(?:closed by foreign host\.\|refused\)\|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\.\|Tramp
connection closed\).*\|^.*\(Received signal [0-9]+\).*\'" from remote shell
16:03:49 tramp-get-connection-property (7) # check-remote-echo nil
16:03:49 tramp-get-connection-property (7) # check-remote-echo nil
16:03:49 tramp-process-one-action (5) # Looking for regexp "^[^#$%>
]*[#$%>] *\'" from remote shell
16:03:49 tramp-get-connection-property (7) # check-remote-echo nil
16:03:49 tramp-get-connection-property (7) # check-remote-echo nil
16:03:49 tramp-process-one-action (5) # Looking for regexp "^[^#$%>
]*[#$%>] *\(\[[0-9;]*[a-zA-Z] *\)*\'" from remote shell
16:03:49 tramp-get-connection-property (7) # check-remote-echo nil
16:03:49 tramp-get-connection-property (7) # check-remote-echo nil
16:03:49 tramp-process-one-action (5) # Looking for regexp "\(Are you sure you
want to continue connecting (yes/no)\?\)\s-*\'" from remote shell
16:03:49 tramp-get-connection-property (7) # check-remote-echo nil
16:03:49 tramp-get-connection-property (7) # check-remote-echo nil
16:03:49 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
16:03:49 tramp-get-connection-property (7) # check-remote-echo nil
16:03:49 tramp-get-connection-property (7) # check-remote-echo nil
16:03:49 tramp-process-one-action (5) # Looking for regexp "\(TERM =
(.*)\|Terminal type\? \[.*\]\)\s-*\'" from remote shell
16:03:49 tramp-get-connection-property (7) # check-remote-echo nil
16:03:49 tramp-get-connection-property (7) # check-remote-echo nil
16:03:49 tramp-process-one-action (5) # Looking for regexp "\'" from remote
shell
16:03:49 tramp-get-connection-property (7) # check-remote-echo nil
16:03:49 tramp-get-connection-property (7) # check-remote-echo nil
16:03:49 tramp-process-one-action (5) # Call `tramp-action-process-alive'
16:03:50 tramp-process-one-action (5) # Looking for regexp ".*ogin\( .*\)?:
*\'" from remote shell
16:03:50 tramp-get-connection-property (7) # check-remote-echo nil
16:03:50 tramp-get-connection-property (7) # check-remote-echo nil
16:03:50 tramp-process-one-action (5) # Looking for regexp
"^.*\([pP]assword\|[pP]assphrase\).*:
16:03:50 tramp-get-connection-property (7) # check-remote-echo nil
16:03:50 tramp-get-connection-property (7) # check-remote-echo nil
16:03:50 tramp-process-one-action (5) # Looking for regexp "^.*\(Connection
\(?:closed by foreign host\.\|refused\)\|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\.\|Tramp
connection closed\).*\|^.*\(Received signal [0-9]+\).*\'" from remote shell
16:03:50 tramp-get-connection-property (7) # check-remote-echo nil
16:03:50 tramp-get-connection-property (7) # check-remote-echo nil
16:03:50 tramp-process-one-action (5) # Looking for regexp "^[^#$%>
]*[#$%>] *\'" from remote shell
16:03:50 tramp-get-connection-property (7) # check-remote-echo nil
16:03:50 tramp-get-connection-property (7) # check-remote-echo nil
16:03:50 tramp-process-one-action (5) # Looking for regexp "^[^#$%>
]*[#$%>] *\(\[[0-9;]*[a-zA-Z] *\)*\'" from remote shell
16:03:50 tramp-get-connection-property (7) # check-remote-echo nil
16:03:50 tramp-get-connection-property (7) # check-remote-echo nil
16:03:50 tramp-process-one-action (5) # Looking for regexp "\(Are you sure you
want to continue connecting (yes/no)\?\)\s-*\'" from remote shell
16:03:50 tramp-get-connection-property (7) # check-remote-echo nil
16:03:50 tramp-get-connection-property (7) # check-remote-echo nil
16:03:50 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
16:03:50 tramp-get-connection-property (7) # check-remote-echo nil
16:03:50 tramp-get-connection-property (7) # check-remote-echo nil
16:03:50 tramp-process-one-action (5) # Looking for regexp "\(TERM =
(.*)\|Terminal type\? \[.*\]\)\s-*\'" from remote shell
16:03:50 tramp-get-connection-property (7) # check-remote-echo nil
16:03:50 tramp-get-connection-property (7) # check-remote-echo nil
16:03:50 tramp-process-one-action (5) # Looking for regexp "\'" from remote
shell
16:03:50 tramp-get-connection-property (7) # check-remote-echo nil
16:03:50 tramp-get-connection-property (7) # check-remote-echo nil
16:03:50 tramp-process-one-action (5) # Call `tramp-action-process-alive'
16:03:51 tramp-process-one-action (5) # Looking for regexp ".*ogin\( .*\)?:
*\'" from remote shell
16:03:51 tramp-get-connection-property (7) # check-remote-echo nil
16:03:51 tramp-get-connection-property (7) # check-remote-echo nil
16:03:51 tramp-process-one-action (5) # Looking for regexp
"^.*\([pP]assword\|[pP]assphrase\).*:
16:03:51 tramp-get-connection-property (7) # check-remote-echo nil
16:03:51 tramp-get-connection-property (7) # check-remote-echo nil
16:03:51 tramp-process-one-action (5) # Looking for regexp "^.*\(Connection
\(?:closed by foreign host\.\|refused\)\|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\.\|Tramp
connection closed\).*\|^.*\(Received signal [0-9]+\).*\'" from remote shell
16:03:51 tramp-get-connection-property (7) # check-remote-echo nil
16:03:51 tramp-get-connection-property (7) # check-remote-echo nil
16:03:51 tramp-process-one-action (5) # Looking for regexp "^[^#$%>
]*[#$%>] *\'" from remote shell
16:03:51 tramp-get-connection-property (7) # check-remote-echo nil
16:03:51 tramp-get-connection-property (7) # check-remote-echo nil
16:03:51 tramp-process-one-action (5) # Looking for regexp "^[^#$%>
]*[#$%>] *\(\[[0-9;]*[a-zA-Z] *\)*\'" from remote shell
16:03:51 tramp-get-connection-property (7) # check-remote-echo nil
16:03:51 tramp-get-connection-property (7) # check-remote-echo nil
16:03:51 tramp-process-one-action (5) # Looking for regexp "\(Are you sure you
want to continue connecting (yes/no)\?\)\s-*\'" from remote shell
16:03:51 tramp-get-connection-property (7) # check-remote-echo nil
16:03:51 tramp-get-connection-property (7) # check-remote-echo nil
16:03:51 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
16:03:51 tramp-get-connection-property (7) # check-remote-echo nil
16:03:51 tramp-get-connection-property (7) # check-remote-echo nil
16:03:51 tramp-process-one-action (5) # Looking for regexp "\(TERM =
(.*)\|Terminal type\? \[.*\]\)\s-*\'" from remote shell
16:03:51 tramp-get-connection-property (7) # check-remote-echo nil
16:03:51 tramp-get-connection-property (7) # check-remote-echo nil
16:03:51 tramp-process-one-action (5) # Looking for regexp "\'" from remote
shell
16:03:51 tramp-get-connection-property (7) # check-remote-echo nil
16:03:51 tramp-get-connection-property (7) # check-remote-echo nil
16:03:51 tramp-process-one-action (5) # Call `tramp-action-process-alive'
16:03:52 tramp-process-one-action (5) # Looking for regexp ".*ogin\( .*\)?:
*\'" from remote shell
16:03:52 tramp-get-connection-property (7) # check-remote-echo nil
16:03:52 tramp-get-connection-property (7) # check-remote-echo nil
16:03:52 tramp-process-one-action (5) # Looking for regexp
"^.*\([pP]assword\|[pP]assphrase\).*:
16:03:52 tramp-get-connection-property (7) # check-remote-echo nil
16:03:52 tramp-get-connection-property (7) # check-remote-echo nil
16:03:52 tramp-process-one-action (5) # Looking for regexp "^.*\(Connection
\(?:closed by foreign host\.\|refused\)\|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\.\|Tramp
connection closed\).*\|^.*\(Received signal [0-9]+\).*\'" from remote shell
16:03:52 tramp-get-connection-property (7) # check-remote-echo nil
16:03:52 tramp-get-connection-property (7) # check-remote-echo nil
16:03:52 tramp-process-one-action (5) # Looking for regexp "^[^#$%>
]*[#$%>] *\'" from remote shell
16:03:52 tramp-get-connection-property (7) # check-remote-echo nil
16:03:52 tramp-get-connection-property (7) # check-remote-echo nil
16:03:52 tramp-process-one-action (5) # Looking for regexp "^[^#$%>
]*[#$%>] *\(\[[0-9;]*[a-zA-Z] *\)*\'" from remote shell
16:03:52 tramp-get-connection-property (7) # check-remote-echo nil
16:03:52 tramp-get-connection-property (7) # check-remote-echo nil
16:03:52 tramp-process-one-action (5) # Looking for regexp "\(Are you sure you
want to continue connecting (yes/no)\?\)\s-*\'" from remote shell
16:03:52 tramp-get-connection-property (7) # check-remote-echo nil
16:03:52 tramp-get-connection-property (7) # check-remote-echo nil
16:03:52 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
16:03:52 tramp-get-connection-property (7) # check-remote-echo nil
16:03:52 tramp-get-connection-property (7) # check-remote-echo nil
16:03:52 tramp-process-one-action (5) # Looking for regexp "\(TERM =
(.*)\|Terminal type\? \[.*\]\)\s-*\'" from remote shell
16:03:52 tramp-get-connection-property (7) # check-remote-echo nil
16:03:52 tramp-get-connection-property (7) # check-remote-echo nil
16:03:52 tramp-process-one-action (5) # Looking for regexp "\'" from remote
shell
16:03:52 tramp-get-connection-property (7) # check-remote-echo nil
16:03:52 tramp-get-connection-property (7) # check-remote-echo nil
16:03:52 tramp-process-one-action (5) # Call `tramp-action-process-alive'
- tramp (2.1.8-pre); can't connect to remote Solaris or Linux system running zsh, Teodor Zlatanov, 2007/02/20
- Re: tramp (2.1.8-pre); can't connect to remote Solaris or Linux system running zsh, Michael Albinus, 2007/02/20
- Re: tramp (2.1.8-pre); can't connect to remote Solaris or Linux system running zsh, Ted Zlatanov, 2007/02/21
- Re: tramp (2.1.8-pre); can't connect to remote Solaris or Linux system running zsh, Michael Albinus, 2007/02/20
- Re: tramp (2.1.8-pre); can't connect to remote Solaris or Linux system running zsh,
Ted Zlatanov <=
- Re: tramp (2.1.8-pre); can't connect to remote Solaris or Linux system running zsh, Michael Albinus, 2007/02/20
- Re: tramp (2.1.8-pre); can't connect to remote Solaris or Linux system running zsh, Ted Zlatanov, 2007/02/21
- Re: tramp (2.1.8-pre); can't connect to remote Solaris or Linux system running zsh, Michael Albinus, 2007/02/21
- Re: tramp (2.1.8-pre); can't connect to remote Solaris or Linux system running zsh, Ted Zlatanov, 2007/02/21