help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: TRAMP suspended after I inputted password


From: Michael Albinus
Subject: Re: TRAMP suspended after I inputted password
Date: Wed, 30 Mar 2022 16:30:23 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

"Christopher M. Miles" <numbchild@gmail.com> writes:

Hi Christopher,

> Indeed, It tested on Raspberry Pi Bash, it works fine now. Seems problem 
> indeed is on Zsh.
>
> I found TRAMP Info manual mentioned setting remote server shell for TRAMP. I 
> tried bellowing elisp setting:
>
> #+begin_src emacs-lisp
> (add-to-list 'tramp-connection-properties
>              (list (regexp-quote "/ssh::")
>                    "remote-shell" "/bin/bash"))
> (add-to-list 'tramp-connection-properties
>              (list (regexp-quote "/ssh:Mac-mini.local:")
>                    "remote-shell" "/bin/bash"))
> (add-to-list 'tramp-connection-properties
>              (list (regexp-quote "/ssh:stardiviner@localhost:")
>                    "remote-shell" "/bin/bash"))
> (add-to-list 'tramp-connection-properties
>              (list (regexp-quote "/ssh:raspberry_pi-wireless:")
>                    "remote-shell" "/bin/bash"))
> (add-to-list 'tramp-connection-properties
>              (list (regexp-quote "/ssh:pi@192.168.31.36:")
>                    "remote-shell" "/bin/bash"))
> (add-to-list 'tramp-connection-properties
>              (list (regexp-quote "/ssh:root@192.168.31.36:")
>                    "remote-shell" "/bin/bash"))
> (add-to-list 'tramp-connection-properties
>              (list (regexp-quote "/ssh:qnap_nas_stardiviner:")
>                    "remote-shell" "/bin/bash"))
> #+end_src
>
> The 1~3 part of sexps should let TRAMP invoke Bash on my macOS instead of 
> default login Zsh. But
> it's not working. Maybe I understand that wrong? Or my setting is wrong?

Your setting looks OK. Do you have tried this with "emacs -Q"? And you
know, that you must perform these settings *before* accessing the
respective host the first time.

If it doesn't work, pls produce Tramp traces with tramp-verbose set to 10.

Best regards, Michael.



reply via email to

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