all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: <tomas@tuxteam.de>
To: help-gnu-emacs@gnu.org
Subject: Re: How to Tramp with ssh and sudo?
Date: Fri, 10 Jan 2020 10:22:57 +0100	[thread overview]
Message-ID: <20200110092256.GD28545@tuxteam.de> (raw)
In-Reply-To: <0100016f8eb676ec-c44ec684-8d59-427a-9b4d-0416e4cbed6d-000000@email.amazonses.com>

[-- Attachment #1: Type: text/plain, Size: 635 bytes --]

On Fri, Jan 10, 2020 at 09:08:40AM +0000, Pankaj Jangid wrote:
> Michael Albinus <michael.albinus@gmx.de> writes:
> > /ssh:user@host|/sudo:host:/path/to/file
> 
> I typed exactly this with appropriate user and host values. But this
> didn't work. My remote host is a raspbery-pi
> 
> C-x C-f /ssh:pi@192.168.0.3|/sudo:192.168.0.3:/etc/wpa_supplicant/wpa_supplicant.conf <RET>
> 
> 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ás

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

  reply	other threads:[~2020-01-10  9:22 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-08 13:42 How to Tramp with ssh and sudo? Pankaj Jangid
2020-01-08 13:53 ` Michael Albinus
2020-01-10  9:08   ` Pankaj Jangid
2020-01-10  9:22     ` tomas [this message]
2020-01-10 11:47       ` Pankaj Jangid
2020-01-10 13:50         ` tomas
2020-01-10  9:23     ` Michael Albinus
2020-01-10 11:43       ` Pankaj Jangid

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200110092256.GD28545@tuxteam.de \
    --to=tomas@tuxteam.de \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.