[Top][All Lists]

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

Re: tramp (2.2.6-pre); ssh hangs after password prompt

From: Ted Zlatanov
Subject: Re: tramp (2.2.6-pre); ssh hangs after password prompt
Date: Mon, 22 Oct 2012 14:09:45 -0400
User-agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.2.50 (gnu/linux)

On Mon, 22 Oct 2012 19:53:09 +0200 Michael Albinus <address@hidden> wrote: 

MA> Ted Zlatanov <address@hidden> writes:
MA> Hi Ted,

>> Machine is "z", and I'm opening /z:/home/tzz.  ssh works without a
>> passphrase from the command line.  So, after trying to open and hanging:

MA> Your problem report did arrive a little bit later; likely because it was
MA> fat :-)

MA> The problem here is

>> 13:33:52.502683 tramp-send-command (6) # /bin/test -e / 2>/dev/null;
>> echo tramp_exit_status $?
>> 13:33:52.524168 tramp-accept-process-output (10) # 
>> tramp_exit_status 127
>> #$ 

MA> Strange. What happens, if you call on the remote host

MA> # /bin/test -e / 2>/dev/null; echo tramp_exit_status $?

MA> And if it also returns 127 - why?

/bin/test is missing on both my CentOS and Ubuntu systems (on Ubuntu zsh
reports it's an internal command though):

% /bin/test -e /
zsh: no such file or directory: /bin/test

% which test

I don't understand why this became a problem suddenly.  Weird.  I linked
/bin/test to /usr/bin/test but it doesn't fix the problem, it now
becomes the following, repeated many times:

14:08:05.762864 tramp-get-connection-property (7) # check-remote-echo nil
14:08:05.763021 tramp-get-connection-property (7) # check-remote-echo nil
14:08:05.763223 tramp-accept-process-output (10) # *tramp/ssh wd01* run
14:08:06.763572 tramp-accept-process-output (10) # 
tramp_exit_status 0

Also did `with-timeout' fail or did we keep resending?  In the latter
case, I think we should show a count of retries and abort after 7 or so.


reply via email to

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