From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Newsgroups: gmane.emacs.help Subject: Re: How to Tramp with ssh and sudo? Date: Fri, 10 Jan 2020 10:22:57 +0100 Message-ID: <20200110092256.GD28545@tuxteam.de> References: <0100016f856489b2-fefb1ba0-bb93-4e45-98a3-28354266f17d-000000@email.amazonses.com> <87sgkqhx6h.fsf@gmx.de> <0100016f8eb676ec-c44ec684-8d59-427a-9b4d-0416e4cbed6d-000000@email.amazonses.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="FFoLq8A0u+X9iRU8" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="62637"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Mutt/1.5.21 (2010-09-15) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jan 10 10:28:24 2020 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1ipqZa-0002A2-Cv for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 10 Jan 2020 10:27:18 +0100 Original-Received: from localhost ([::1]:42956 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ipqZY-00040X-5P for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 10 Jan 2020 04:27:16 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47261) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ipqVX-00014t-5p for help-gnu-emacs@gnu.org; Fri, 10 Jan 2020 04:23:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ipqVV-0003kD-3e for help-gnu-emacs@gnu.org; Fri, 10 Jan 2020 04:23:06 -0500 Original-Received: from mail.tuxteam.de ([5.199.139.25]:35144) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ipqVU-0003FZ-Ge for help-gnu-emacs@gnu.org; Fri, 10 Jan 2020 04:23:05 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tuxteam.de; s=mail; h=From:In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:To:Date; bh=ltUlFz3suy9lmG2hWVDoN1sW7axOtvqmr2nF3lHs2EY=; b=SNnqetNzUMH3bOWZRhed8Q/dKPBlNENbgiOhqIFgUAYqJcNolSZ7Bre6Jkfe/0xaufusfoa/npxoSMyNJ4tjzeB2XUVcIKhs09QSGcMAx27iZdUyN7DFYaHnjkicR8AzaX0J57sbUyRUkJp0OTex0jRMP6FW7wVtUkjTeuorJd53oIpnppyAs3VMVrgruCiQIKNI02Sry+mia33TUm0ue77I7305/MqOi/8NUizSfFTmSJ4gpRnOP3yD4ugslTj76xhjP5BfMM8hfyWisT5+xOenMrJCLpYC3ssCLJCI7XTQRshqPI6ZVyvW2b2hucFep8CY6SZ9MiPchfT9GSLqmw==; Original-Received: from tomas by mail.tuxteam.de with local (Exim 4.80) (envelope-from ) id 1ipqVN-0008AQ-1l for help-gnu-emacs@gnu.org; Fri, 10 Jan 2020 10:22:57 +0100 Content-Disposition: inline In-Reply-To: <0100016f8eb676ec-c44ec684-8d59-427a-9b4d-0416e4cbed6d-000000@email.amazonses.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 5.199.139.25 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.org gmane.emacs.help:122190 Archived-At: --FFoLq8A0u+X9iRU8 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jan 10, 2020 at 09:08:40AM +0000, Pankaj Jangid wrote: > Michael Albinus writes: > > /ssh:user@host|/sudo:host:/path/to/file >=20 > I typed exactly this with appropriate user and host values. But this > didn't work. My remote host is a raspbery-pi >=20 > C-x C-f /ssh:pi@192.168.0.3|/sudo:192.168.0.3:/etc/wpa_supplicant/wpa_sup= plicant.conf >=20 > This didn't work. How does your "not work" look, exactly? Any error messages? Emacs hangs? It gives you an empty buffer and says it's a new file? Hint: the more details you give, the more you help others help you :) Cheers -- tom=C3=A1s --FFoLq8A0u+X9iRU8 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAl4YQnAACgkQBcgs9XrR2kaYfQCePItaeKjYljHU/irBnxzdAKZh dxMAoIDCrI69j1afpPKjSOplF/UhYOsz =PlH7 -----END PGP SIGNATURE----- --FFoLq8A0u+X9iRU8--