[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to Tramp with ssh and sudo?
From: |
Pankaj Jangid |
Subject: |
Re: How to Tramp with ssh and sudo? |
Date: |
Fri, 10 Jan 2020 11:47:40 +0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.60 (darwin) |
<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