tramp-devel
[Top][All Lists]
Advanced

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

Re: Tramp: hangs with “found remote shell prompt”, got `run nil “/bin:/u


From: Michael Albinus
Subject: Re: Tramp: hangs with “found remote shell prompt”, got `run nil “/bin:/usr/bin”` repeatedly in debug buffer
Date: Tue, 07 Apr 2020 19:48:14 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Wenguang Wang <address@hidden> writes:

Hi,

> When I connect to a ubuntu server, Tramp always hang after showing
> "found remote shell prompt".
>
> I am attaching the full trace output below:

This tells us the story. See the following command, and what it returns:

> 21:07:36.665575 tramp-send-command (6) # exec ssh -l local  -o
> ControlMaster=auto -o ControlPath='tramp.%C' -o ControlPersist=no -e
> none homes.local
> 21:07:38.737694 tramp-process-actions (6) #
> Welcome to Ubuntu 18.04.4 LTS (GNU/Linux 4.15.0-76-generic x86_64)
>
>  * Documentation:  https://help.ubuntu.com
>  * Management:     https://landscape.canonical.com
>  * Support:        https://ubuntu.com/advantage
>
>  * Kubernetes 1.18 GA is now available! See https://microk8s.io for
> docs or
>    install it with:
>
>      sudo snap install microk8s --channel=1.18 --classic
>
>  * Multipass 1.1 adds proxy support for developers behind enterprise
>    firewalls. Rapid prototyping for cloud operations just got easier.
>
>      https://multipass.run/
>
>  * Canonical Livepatch is available for installation.
>    - Reduce system reboots and improve kernel security. Activate at:
>      https://ubuntu.com/livepatch
>
> 1 package can be updated.
> 0 updates are security updates.
>
> *** System restart required ***
> Last login: Sun Apr  5 20:56:50 2020 from
> fe80::1c74:9720:e127:bea4%wlp2s0
> 21:07:38 ~ local@Homes $

That means, that "21:07:38 ~ local@Homes $ " is your shell prompt. Tramp
cannot recognize it; read the Tramp manual how to set the remote shell
prompt for Tramp.

Best regards, Michael.



reply via email to

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