From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: suvayu ali Newsgroups: gmane.emacs.help Subject: Re: edit a file over two linked ssh Date: Tue, 22 Nov 2011 13:53:38 +0100 Message-ID: References: <8762ifujtt.fsf@gmx.de> <871ut1qnkc.fsf@gmx.de> <87sjlgpvqd.fsf@gmx.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: dough.gmane.org 1321966460 23545 80.91.229.12 (22 Nov 2011 12:54:20 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 22 Nov 2011 12:54:20 +0000 (UTC) To: Emacs mailing list Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Nov 22 13:54:15 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RSprY-0004ZZ-Kx for geh-help-gnu-emacs@m.gmane.org; Tue, 22 Nov 2011 13:54:12 +0100 Original-Received: from localhost ([::1]:50409 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RSprY-0001MJ-8G for geh-help-gnu-emacs@m.gmane.org; Tue, 22 Nov 2011 07:54:12 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:35915) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RSprS-0001M0-SZ for help-gnu-emacs@gnu.org; Tue, 22 Nov 2011 07:54:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RSprM-0005U6-UP for help-gnu-emacs@gnu.org; Tue, 22 Nov 2011 07:54:06 -0500 Original-Received: from mail-fx0-f41.google.com ([209.85.161.41]:41697) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RSprM-0005Tq-Pz for help-gnu-emacs@gnu.org; Tue, 22 Nov 2011 07:54:00 -0500 Original-Received: by faas10 with SMTP id s10so441612faa.0 for ; Tue, 22 Nov 2011 04:53:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:content-type; bh=BMetOM9WywYOkP87WiMZ6oMjAZQ2MV1yO9T8732sxe8=; b=R4/Xq+IxqqEQlvmOkOFDxM8Fit8JknUxblrBJhRFpwd7E6J5L9BWZ3LPnkZQr7cyBE uoakc1GNvdbVNP4tLn1Usp9AOjv/Plq8zhcLYqaKe4YSOMMCFMjqIdAZ2qKakAj3gxN8 JtANRoPkEMRY83OHvljijaLA7NZ1R2JPl4nsM= Original-Received: by 10.205.128.138 with SMTP id he10mr18745525bkc.13.1321966439161; Tue, 22 Nov 2011 04:53:59 -0800 (PST) Original-Received: by 10.205.35.1 with HTTP; Tue, 22 Nov 2011 04:53:38 -0800 (PST) In-Reply-To: <87sjlgpvqd.fsf@gmx.de> X-Google-Sender-Auth: EBt4OtKt7nMj3VyVM_Dn_SPS_6Y X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.161.41 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:82999 Archived-At: To update, > (add-to-list 'tramp-default-proxies-alist > '("remotehost.\+" nil "/ssh:%u@intgw:")) > (add-to-list 'tramp-default-proxies-alist > '("intgw" nil "/ssh:%u@publichost:")) With help from Michael, the problem turned out to be a simple regexp problem for the host name. "^remotehost" and "^intgw" worked beautifully. -- Suvayu Open source is the future. It sets us free.