From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chris Withers Newsgroups: gmane.emacs.help Subject: Re: remote file editing over ssh with emacs 22.3.1 on Windows/Mac Date: Sat, 30 May 2009 13:26:06 +0100 Message-ID: <4A2125DE.7090103@simplistix.co.uk> 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> <83bpq2ytya.fsf@gnu.org> <87fxfbibjr.wl%anselm.helbig+news2009@googlemail.com> <4A0EF0FC.2020608@simplistix.co.uk> <87d49zy4dl.fsf@gmx.de> <4A1ABBE0.1080809@simplistix.co.uk> <87ljojwpvl.fsf@gmx.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1243686410 21292 80.91.229.12 (30 May 2009 12:26:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 30 May 2009 12:26:50 +0000 (UTC) Cc: "help-gnu-emacs@gnu.org >> Emacs Help" , anselm.helbig+news2009@googlemail.com To: Michael Albinus Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat May 30 14:26:46 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 1MANe8-0000QT-2c for geh-help-gnu-emacs@m.gmane.org; Sat, 30 May 2009 14:26:44 +0200 Original-Received: from localhost ([127.0.0.1]:42027 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MANe7-0006Cs-CB for geh-help-gnu-emacs@m.gmane.org; Sat, 30 May 2009 08:26:43 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MANdT-00069f-O8 for help-gnu-emacs@gnu.org; Sat, 30 May 2009 08:26:03 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MANdS-00066B-3D for help-gnu-emacs@gnu.org; Sat, 30 May 2009 08:26:03 -0400 Original-Received: from [199.232.76.173] (port=58513 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MANdR-00065k-Kh for help-gnu-emacs@gnu.org; Sat, 30 May 2009 08:26:01 -0400 Original-Received: from server1.simplistix.co.uk ([89.151.125.140]:50988) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MANdR-0006FD-9S for help-gnu-emacs@gnu.org; Sat, 30 May 2009 08:26:01 -0400 Original-Received: from [192.168.1.15] (cust162-dsl93-89-128.idnet.net [93.89.128.162]) by server1.simplistix.co.uk (Postfix) with ESMTPSA id 345244F8084; Sat, 30 May 2009 13:25:55 +0100 (BST) User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) In-Reply-To: <87ljojwpvl.fsf@gmx.de> X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) 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:64830 Archived-At: Michael Albinus wrote: > Anselm gave you several hints for configuration of ssh. Unfortunately, > you do not run ssh but putty. > > Tramp supports a method called "plinkx" (since Tramp 2.1.10, I > believe). This is used to take putty session names, instead of host > names. yep, that was the missing, thank you! > So for every remote host you want to access, you might create a putty > session, which includes the host and user names. Let's call such a putty > session "somehost", with host name "somehost.somedomain" and user name > "cwithers". Likely, you have done this already. > > Than you can add two rules: > > (add-to-list 'tramp-default-proxies-alist > '(nil "\\`root\\'" "/plinkx:%h:")) > > (add-to-list 'tramp-default-proxies-alist > '("\\`localhost\\'" "\\`root\\'" nil)) I think this second one is redundant, right? (as I'm on Windows, sudo'ing to localhost is a bit of a no-go ;-) ) cheers, Chris -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk