tramp-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tramp (2.0.57); multihop sudo not working


From: Michael Albinus
Subject: Re: tramp (2.0.57); multihop sudo not working
Date: Sat, 13 Jun 2009 12:37:53 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.94 (gnu/linux)

Benjamin Motz <address@hidden> writes:

> Hello,

Hi,

> I want to login on a remote machine (known only by ip-number) and
> acquire superuser permissions there. To do this I tried the
> recommended solution, described in the tramp manual:
>
> (setq tramp-default-proxies-alist '())
>        ;necessary because otherwise emacs would complain about non
>        ;existing list

This is a good indication of your problem, see below.

> (add-to-list 'tramp-default-proxies-alist
>               '("\\`192\\.168\\.178\\.168\\'" "\\`root\\'" "/ssh:%h:"))
>
> Anyway, after trying to open the file
>
>          /sudo:address@hidden:
>
> tramp returns an error as if it didn't care about the multihop
> settings:

This configuration is valid for Tramp 2.1. I recommend to upgrade. If
you want to use Tramp 2.0, as bundled with Emacs 22, please read the
provided Tramp manual via Info.

However, Emacs 23 will be released soon(*), so Tramp 2.1 is the version
you will be faced with then.

(*): See <http://permalink.gmane.org/gmane.emacs.devel/111466>

> Thanks a lot for any recommendations, Benjamin

Best regards, Michael.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]