Hong Xu <[email protected]> writes:

Hi Hong,

> Sorry, sent out the wrong buffer. Here you go!

Thanks. This is indeed sufficient.

Tramp sends the following command to the remote server:

> 00:55:43.356223 tramp-send-command (6) # exec ssh   -o ControlMaster=auto -o 
> ControlPath='tramp.%C' -o ControlPersist=no -e none server1

And it gets the following rewsponse:

> 00:56:43.362304 tramp-process-actions (6) #
> Welcome to Ubuntu 20.04.1 LTS (GNU/Linux 5.4.0-48-generic x86_64)
>
>  * Documentation:  https://help.ubuntu.com
>  * Management:     https://landscape.canonical.com
>  * Support:        https://ubuntu.com/advantage
>
>   System information as of Mon Oct 12 07:55:44 UTC 2020
>
>   System load:           0.0
>   Usage of /:            25.1% of 24.06GB
>   Memory usage:          36%
>   Swap usage:            0%
>   Processes:             104
>   Users logged in:       0
>   IPv4 address for eth0: xx.xx.xx.xx
>   IPv4 address for eth0: xx.xx.xx.xx
>   IPv6 address for eth0: xx:xx:xx:xx:xx:xx:xx
>
> 1 update can be installed immediately.
> 0 of these updates are security updates.
> To see these additional updates run: apt list --upgradable
>
>
> Last login: some date from xx.xx.xx.xx
> %                                                                             
>   
[38;5;071m[hong@server1][01m~[00m [?2004h

You see, that there is a fancy prompt (likely from zsh), which isn't
understood by Tramp. Read the Tramp manual what to do.

> Hong

Best regards, Michael.

Reply via email to