tramp-devel
[Top][All Lists]
Advanced

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

Re: tramp (2.0.22); tramp errs: Remote `/bin/sh' didn't come up.


From: Martin Guertler
Subject: Re: tramp (2.0.22); tramp errs: Remote `/bin/sh' didn't come up.
Date: 17 Feb 2003 16:39:28 +0100
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

Adrian Aichner <address@hidden> writes:

> >>>>> "Kai" == Kai Großjohann <address@hidden> writes:
> 
>     Kai> Adrian Aichner <address@hidden> writes:
>     >> On
>     >> v runs the command bookmark-bmenu-select
>     >> for
>     >> /[scpx/address@hidden/home/adrian\
>     >> 
>     >> I get this:
>     >> 
>     >> exec env 'PS1=$ ' /bin/sh
>     >> 
>     >> $ $ 
> 
>     Kai> This looks rather strange.  Hm.
> 
>     Kai> What's the *debug tramp/foo* buffer at this point?  (Do (setq
>     Kai> tramp-debug-buffer t) if you don't have this buffer.)
> 
> Here you go:
> 
> # Opening connection for address@hidden using scpx...
> # Waiting for prompts from remote shell
> # Waiting 60s for prompt from remote shell
> # Found remote shell prompt.
> # Initializing remote shell
> $ exec env PS1='$ ' /bin/sh
> # Waiting 30s for remote `/bin/sh' to come up...
> exec env 'PS1=$ ' /bin/sh
> 
> $ $ [[Regexp `\(^[^#$%>
> ]*[#$%>] *\|^[^#$%>
> ]*[#$%>] *\)\'' not found in 30 secs]]
> 

What's your login shell on the remote machine? I ran into the same
trouble when I tried to login to a machine where I have to have zsh as
login shell. It has no PS1 env variable, the prompt there is
named PROMPT1. As a kludge I changed
tramp-shell-prompt-pattern. Maybe one could set more variables in
the exec statement ..

Martin




reply via email to

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