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

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

Re: remote file editing over ssh with emacs 22.3.1 on Windows


From: Eli Zaretskii
Subject: Re: remote file editing over ssh with emacs 22.3.1 on Windows
Date: Sat, 09 May 2009 22:09:17 +0300

> Date: Sat, 09 May 2009 18:41:38 +0100
> From: Chris Withers <chris@simplistix.co.uk>
> CC: help-gnu-emacs@gnu.org
> 
> > There's the "sudo" method supported by Tramp.  See the node "Inline
> > methods" in the Tramp manual (which is part of Emacs 23).
> 
> Hmmm, my emacs fu is weak.... I found the bit in the manual but it 
> didn't help me...
> 
> What do I actually type to sudo to a different user when opening a file 
> on a remote system?

   C-x C-f /sudo:USER@MACHINE:/PATH/TO.FILE RET

Or

   (setq tramp-default-method "sudo")
   C-x C-f /USER@MACHINE:/PATH/TO.FILE RET




reply via email to

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