Chris Withers <[email protected]> writes:

>> 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?

It can be a regular expression. If you know one which matches every user
but the "transit" user you need to jump first, you're done.

> cheers,
>
> Chris

Best regards, Michael.


_______________________________________________
Tramp-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/tramp-devel

Reply via email to