From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.help Subject: Re: TRAMP suspended after I inputted password Date: Wed, 30 Mar 2022 16:30:23 +0200 Message-ID: <87a6d7bji8.fsf@gmx.de> References: <37296.8222176254$1648211811@news.gmane.org> <87ils2i0md.fsf@gmx.de> <41568.5577596136$1648261759@news.gmane.org> <87wnghgkg2.fsf@gmx.de> <12258.499539324$1648308379@news.gmane.org> <877d8fhmav.fsf@gmx.de> <35749.2898636096$1648450131@news.gmane.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30598"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: Emacs Help To: "Christopher M. Miles" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Wed Mar 30 16:31:30 2022 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nZZM9-0007oP-Qh for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 30 Mar 2022 16:31:29 +0200 Original-Received: from localhost ([::1]:53480 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nZZM8-00050e-Fm for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 30 Mar 2022 10:31:28 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:45794) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nZZLB-0004zA-9x for help-gnu-emacs@gnu.org; Wed, 30 Mar 2022 10:30:32 -0400 Original-Received: from mout.gmx.net ([212.227.15.18]:46267) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nZZL8-0002ek-5G for help-gnu-emacs@gnu.org; Wed, 30 Mar 2022 10:30:28 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1648650624; bh=0qvEhg1WL6gf0uQ/uKsf7CCD/kHTd7G2Jsl2HeRqHo0=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=RPdm3qxq25uJtldCXMMSHVnHPsYz23jAmXYxu5WpM/qweQLysngojkOu0qsvOKFb9 QMZXfKL0TINfi81tqjc3IZU63cD6w8Mmq24oK2iNgZC16Z26StSYPlaXnbRQZDrsy6 ak3f7pwsfpXO1dxP/esbOWQ37XjDNSl+GXdXuDpo= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from gandalf.gmx.de ([213.220.151.59]) by mail.gmx.net (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1M3DJv-1nawFO4A8L-003adH; Wed, 30 Mar 2022 16:30:24 +0200 In-Reply-To: <35749.2898636096$1648450131@news.gmane.org> (Christopher M. Miles's message of "Mon, 28 Mar 2022 14:33:01 +0800") X-Provags-ID: V03:K1:Z5SXMj2+SFUSxMSZRKV+bzv0WmGI9LlyeYrpNUXOPvAIuP7EEUl AEqPzLUpZg0lRBH3gKQhZm2DdNeueFFRNcBanGAsGMICgqGDZs0pWvsqvgLgypfNS1wFoQW RQ4OU/e7HgWyMrYXw0VEYWj3q5sHvV0xr7NXpEiiszId9FgaUt6lPriS7N7t/ytSIvhD0nS pZkkmDfmm299ZOag/hENw== X-UI-Out-Filterresults: notjunk:1;V03:K0:+Awik7LW2MA=:3lFVxmB+ez7JzeCJH9AVAU RsKnB2Ks/XYfyFYZ2cerDiBrxHM12efZwWUPA7DmAYnUGCQuSjT/jALipYbPU6uaasJ5HsjhD S01n92lA7kra0Sty3H4NUy9TCNJVKDFZI2yYow6pvIbxIac+0VbZ/1czoOGyw2Nd1kumETkUc YZHywzDstf/lYExl7WfJOEsOHisLc3s3IX7jTlvMEB6nmARb4uwjGAPVC8akPKDPiViSB9xAk wKGQdYzcTt8JSjRg2e7+gC8nn4w3FbAOJvKSO7huNq3BlunWiHsbK7OLRgOTyRwzJJPiiOLdg qw2wozuuznpo1Ni603izCa9k8KD1gDPLGtU0BCo5Ec0d+dlZUEkgJDW2QV8SfdM1N7cOWsMY3 Zjj4S0r4KWuGHPfUwJ1X+y5e8BFgwG8AJzUl43kyIR+sqSUcaAgzYjVcdEoxhamfrqPQ4dX2g XkkBTUGgsWDh3B2w/gyc6gqDftONHI+tnzFDT3FqUNXYpapZEbQFepM9bObLTKCJwQRdx8QTc H1ZzH+5InQMjlGenmxxHKwW9kBvoFvChp8uQq66qXXnRljQu0iR9xnAhgYLmchcMfXs/cDPKU qns35LXJVBJFCeWpqU+8nziNtxfR8Fk3iquDkjLozB2vfVujnq+xXoOHoVAeoyRhWtOB5xV7i P4cCN54WpGQZuFpY3G4nKQT6YJM39Okhd4og1HbzXa9rmE1GHk85FfT0mp/vfXWTPhZe05bnF r/L3qAWx91iscr8umxg298+0GNSnVid0GSCIaJjOF/swNjVlo17A3RstGLDQzbfLCdpxrmVj Received-SPF: pass client-ip=212.227.15.18; envelope-from=michael.albinus@gmx.de; helo=mout.gmx.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:136812 Archived-At: "Christopher M. Miles" 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.