|
From: | Chris Withers |
Subject: | Re: remote file editing over ssh with emacs 22.3.1 on Windows |
Date: | Sat, 16 May 2009 17:59:40 +0100 |
User-agent: | Thunderbird 2.0.0.21 (Windows/20090302) |
Anselm Helbig wrote:
You do it something like this: (add-to-list 'tramp-default-proxies-alist '("\\`host.example.com\\'" nil "/ssh:remoteuser@%h:")) And then C-x C-f /sudo:privilegeduser@host.example.com:/ <RET>
Okay, I haven't tried this, but that's because it appears I need to add code to my .emacs file for every username/hostname combination that I want to log in to.
Is there no way I can specify both the username to use to log in with *and* the username to sudo to as part of the C-x C-f process?
cheers, Chris -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk
[Prev in Thread] | Current Thread | [Next in Thread] |