unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Pankaj Jangid <p4j@j4d.net>
To: <tomas@tuxteam.de>
Cc: help-gnu-emacs@gnu.org
Subject: Re: How to Tramp with ssh and sudo?
Date: Fri, 10 Jan 2020 11:47:40 +0000	[thread overview]
Message-ID: <0100016f8f480733-2b7e39c6-74b6-436a-b078-13ed3051e55e-000000@email.amazonses.com> (raw)
In-Reply-To: <20200110092256.GD28545@tuxteam.de> (tomas@tuxteam.de's message of "Fri, 10 Jan 2020 10:22:57 +0100")

<tomas@tuxteam.de> writes:
>> 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?

Really sorry about that. Actually, I copied the message but forgot to
yank in the message buffer before sending. The problem got solved with
Michael's help. But the message in the message area was

M-x make-directory <RET> <RET> to create the directory and its parents

Regards,
-- 
Pankaj Jangid



  reply	other threads:[~2020-01-10 11:47 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
2020-01-10 11:47       ` Pankaj Jangid [this message]
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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=0100016f8f480733-2b7e39c6-74b6-436a-b078-13ed3051e55e-000000@email.amazonses.com \
    --to=p4j@j4d.net \
    --cc=help-gnu-emacs@gnu.org \
    --cc=tomas@tuxteam.de \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).