help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to Tramp with ssh and sudo?


From: Michael Albinus
Subject: Re: How to Tramp with ssh and sudo?
Date: Wed, 08 Jan 2020 14:53:10 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Pankaj Jangid <address@hidden> writes:

Hi,

> Need some help with Tramp. I know that to access a remote file the path
> is
>
> /ssh:user@host:/path/to/file
>
> For privileged file on local machine, it is
>
> /sudo::/path/to/file
>
> I want to combine the above two i.e. I want to access a privileged file
> on a remote machine. What is the path for that?

/ssh:user@host|/sudo:host:/path/to/file

> Regards

Best regards, Michael.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]