|
From: | Chris Withers |
Subject: | Re: editing a file on a remote host as root |
Date: | Tue, 29 Dec 2009 10:59:50 +0000 |
User-agent: | Thunderbird 2.0.0.23 (Macintosh/20090812) |
Michael Albinus wrote:
/sudo:address@hidden:/For this, you need another rule, like (add-to-list 'tramp-default-proxies-alist '(nil "\\`different_user_to_my_local_user\\'" "/ssh:%h:"))
Okay, but how can I make that generic such that I don't need to add a new rule to my .emacs file every time I have to use a new username to log into a particular host?
cheers, Chris -- Simplistix - Content Management, Batch Processing & Python Consulting - http://www.simplistix.co.uk
[Prev in Thread] | Current Thread | [Next in Thread] |