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: cannot ssh edit a file Date: Tue, 23 Feb 2021 17:40:00 +0100 Message-ID: <8735xmeo0v.fsf@gmx.de> References: <87im6lqvzo.fsf@gmx.de> <87eeh8qyz3.fsf@gmx.de> <87a6rwqh0h.fsf@gmx.de> <8735xoqa07.fsf@gmx.de> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28606"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: help-gnu-emacs , Tim Visher To: Luca Ferrari Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Tue Feb 23 17:41:39 2021 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 1lEaki-0007JH-Uj for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 23 Feb 2021 17:41:36 +0100 Original-Received: from localhost ([::1]:39092 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lEakh-0002FB-Uh for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 23 Feb 2021 11:41:35 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41814) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lEajL-0002CH-Eu for help-gnu-emacs@gnu.org; Tue, 23 Feb 2021 11:40:11 -0500 Original-Received: from mout.gmx.net ([212.227.17.21]:52447) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lEajI-0002sv-9W for help-gnu-emacs@gnu.org; Tue, 23 Feb 2021 11:40:11 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1614098402; bh=eUFNaYpiNS55fX8SL66W29Cv/M8weFtS7RjFiG3IwhQ=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=epMwb6aeDgFF0DZM1kZxmQV/o65QYYond9pTK1SM79FW/+JmBEevu8IqhyGzCxBqM 6GXP35drMPO+W5zaG9/Lehuh3aNlY/t40USvUtcCdjfW3ZU/rFIFweTUoD+wAAC3Hl oo0oLv9DRiRtTzRRppUsyTr1PYfMUJEYyPZxTMU4= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from gandalf.gmx.de ([212.86.53.6]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MHoNC-1l0ooW1jEc-00Ex5W; Tue, 23 Feb 2021 17:40:02 +0100 In-Reply-To: (Tim Visher's message of "Tue, 23 Feb 2021 10:44:47 -0500") X-Provags-ID: V03:K1:vkGqNXAT6ZzkmFywwgGKuNQKoOCOUM2cseWgpiHqVJQlsM6Gj4g daRVJMBHFqzwdsT2PLud3Lr1czWB21KXgrJQ7QsFtaJ5dhlxfQ2oMiU08s1C2JurhpT1aNE lugi8lKRJsVdHEksLZ5uzvGRhN7iFGWCiZHALuqFTE97qMrYWXOCrwBaBkeWv2yhZrcwunF 33XzJolWXBjsTiRrZlBxw== X-UI-Out-Filterresults: notjunk:1;V03:K0:M9u3LP2330s=:CwF/4zjTCgotRvomntV9JH jkFxqu12A9+e+lqzrHnl0Nb7mQvTdzoQweHTZoUxbKmUJALHsaRqyD6kUodAWL2pSUhdpK8qk gHAv/map7T+XLv0JAuO2kIbyXjuWDtb+sYkx/4cOi8RLyQT7nfpplnXBHK9ufMTBT1kdaDkIi E0s6x+ANOAZL3v7lhbCXQoiaSZwI3eG27JXQnrsJB+TXSxSKXgX3hqPOy16isejnU7dkQ5ZqW WBffEfrxdiMQmvfbRCDTZEsYhV3QYnsAF7pAmsV3Wl6QOd0ntlfsxgbQdOhLttj7KnuA9xubr zhDOrgpcA4bfsWf6O8C+mLaO9ef4sxDIkfeAFBBwPyqDETmA+jKvjCSphrpM+YTXT7ZOKYZGr +XQaGwvmjdtIFh4DogLuMqo99zEjYNRJF3JTST2AyCkifUHIF2M9BHldPV+cgqyOwxId51QI+ R7BBXC7XlRG+i4ly0SpQjzpCyQ3+wbSmF6i2jBJ4nU53mQMwz/CKegpW6B/EzhwbIHp9hXP1/ ddNqMBhBg0oTJ/OMhGS8dEkpBbysGioj9GUOjcLBXGBqU7qIHKk/LLjIwxpCLaML0vFuIyChk r2YYT45xR4lfLeJHhIIxUvtWHqFuHrTbDykMd4e2xQwhwE28VePyy3QVvMt61PyERfxX1AuqY 8Q/4OOgljsUAEpD1xtRUev1dx2SdLSpf95CckACAncItnseZJoaxhZyicr5MNzEP+MSgO1QR0 +/KRqYh15CCj2gkLN8AE+Kh3iMCSOBsxrRoSCmxmXutqlQjR9nQ/X4X/Qi1fbRY9sbKUAq5D Received-SPF: pass client-ip=212.227.17.21; 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 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 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:128214 Archived-At: Tim Visher writes: > Until you can use that ssh command and get a prompt that's exactly `$ > ` I don't think there's much else (I at least) can do to help you. I > don't know zsh at all so I can't help you figure out why your prompt > customization isn't helping. Perhaps zsh has a mailing list or other > forum you can use? Tramp 2.5 has some better support for settins zsh options. You could try: - Install Tramp 2.5.0.1 from GNU ELPA. It shall be compatible with Emacs 26. - Assure, that your Emacs uses this Tramp package, and not the builtin one. Once you have loaded Tramp, check variable tramp-version. - Apply the following setting in your .emacs, prior accessing the remote host: (add-to-list 'tramp-connection-properties (list (regexp-quote "/sshx:user@host:") "remote-shell" "/usr/bin/zsh")) "user" and "host" must be adapted. - Use "sshx" to open a remote file, like "C-x C-f /sshx:user@host:". Best regards, Michael.