Wenguang Wang <[email protected]> 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.
