From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: remote file editing over ssh with emacs 22.3.1 on Windows Date: Sat, 09 May 2009 22:09:17 +0300 Message-ID: <83bpq2ytya.fsf@gnu.org> References: <4A02A04F.6010307@simplistix.co.uk> <83hbzwdazt.fsf@gnu.org> <0F841C30-5A42-4F96-95CE-49FA51BDBDB6@digg.com> <4A04A18F.2020404@simplistix.co.uk> <833abedact.fsf@gnu.org> <4A0543A3.9000007@simplistix.co.uk> <83y6t6bp8l.fsf@gnu.org> <4A05C052.10607@simplistix.co.uk> NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1241896193 7845 80.91.229.12 (9 May 2009 19:09:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 9 May 2009 19:09:53 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat May 09 21:09:43 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1M2rva-0002Ls-TB for geh-help-gnu-emacs@m.gmane.org; Sat, 09 May 2009 21:09:43 +0200 Original-Received: from localhost ([127.0.0.1]:42571 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M2rva-0005hP-2t for geh-help-gnu-emacs@m.gmane.org; Sat, 09 May 2009 15:09:42 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M2rvF-0005hK-UT for help-gnu-emacs@gnu.org; Sat, 09 May 2009 15:09:21 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M2rvE-0005h8-Ls for help-gnu-emacs@gnu.org; Sat, 09 May 2009 15:09:21 -0400 Original-Received: from [199.232.76.173] (port=33679 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M2rvE-0005h5-Hu for help-gnu-emacs@gnu.org; Sat, 09 May 2009 15:09:20 -0400 Original-Received: from mx20.gnu.org ([199.232.41.8]:41537) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1M2rvE-0006BP-5C for help-gnu-emacs@gnu.org; Sat, 09 May 2009 15:09:20 -0400 Original-Received: from mtaout2.012.net.il ([84.95.2.4]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1M2rvD-0000WK-Hs for help-gnu-emacs@gnu.org; Sat, 09 May 2009 15:09:19 -0400 Original-Received: from conversion-daemon.i_mtaout2.012.net.il by i_mtaout2.012.net.il (HyperSendmail v2004.12) id <0KJE00G0051EFU00@i_mtaout2.012.net.il> for help-gnu-emacs@gnu.org; Sat, 09 May 2009 22:09:17 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([84.228.73.80]) by i_mtaout2.012.net.il (HyperSendmail v2004.12) with ESMTPA id <0KJE00HTL57HM640@i_mtaout2.012.net.il> for help-gnu-emacs@gnu.org; Sat, 09 May 2009 22:09:17 +0300 (IDT) In-reply-to: <4A05C052.10607@simplistix.co.uk> X-012-Sender: halo1@inter.net.il X-Detected-Operating-System: by mx20.gnu.org: Solaris 9.1 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:64279 Archived-At: > Date: Sat, 09 May 2009 18:41:38 +0100 > From: Chris Withers > 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