emacs-devel
[Top][All Lists]
Advanced

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

Re: Tramp 2.0 -> 2.1 migration woes


From: Trent W. Buck
Subject: Re: Tramp 2.0 -> 2.1 migration woes
Date: Tue, 29 Jan 2008 11:34:32 +1100
User-agent: Mutt/1.5.17+20080114 (2008-01-14)

On Mon, Jan 28, 2008 at 05:31:32PM +0100, Michael Albinus wrote:
>> I'm also not sure that middling to complicated proxying
>> arrangements can even be set up with the current
>> tramp-default-proxies-alist.  For example, suppose a host allows
>> ssh from anywhere, but locks down its internal staff-only FTP
>> upload area to sites on the corporate subnet?  You'd need to have
>> the /ftp:appdev:/incoming use an /ssh:gw: proxy, but /ssh:appdev:
>> should not use any proxy (although it would still work with one,
>> it would just waste gw's bandwidth).
> 
> I'd recommend to use 2 Emacs profiles, with different settings of
> tramp-default-proxies-alist. I do something similar in .gnus:
> 
> (if (my-ping "mail.work.de")
>     (setq send-mail-function 'smtpmail-send-it
>         smtpmail-default-smtp-server "mail.work.de"
>         smtpmail-local-domain "work.de")
>   (setq send-mail-function 'smtpmail-send-it
>       smtpmail-default-smtp-server "mail.home.de"
>       smtpmail-local-domain "home.de"))

I think I haven't been clear.  In the example above, it's desirable to
dispatch on method as well as hostname and userename.




reply via email to

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