From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: int_80h@hotmail.com (int_80h) Newsgroups: gmane.emacs.help Subject: Opening remote files through proxy gateway Date: 8 Sep 2002 16:58:48 -0700 Organization: http://groups.google.com/ Sender: help-gnu-emacs-admin@gnu.org Message-ID: <7df8ebf7.0209081558.5fcb34e8@posting.google.com> NNTP-Posting-Host: localhost.gmane.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1031529976 16135 127.0.0.1 (9 Sep 2002 00:06:16 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 9 Sep 2002 00:06:16 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17oC4F-0004C7-00 for ; Mon, 09 Sep 2002 02:06:15 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 17oC4H-00074e-00; Sun, 08 Sep 2002 20:06:17 -0400 Original-Path: shelby.stanford.edu!nntp.stanford.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 32 Original-NNTP-Posting-Host: 206.30.164.20 Original-X-Trace: posting.google.com 1031529528 11712 127.0.0.1 (8 Sep 2002 23:58:48 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: 8 Sep 2002 23:58:48 GMT Original-Xref: nntp.stanford.edu gnu.emacs.help:104599 Original-To: help-gnu-emacs@gnu.org Errors-To: help-gnu-emacs-admin@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.help:1156 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:1156 I am having trouble opening files on a remote server through a proxy firewall. Here is the output of the proxy when I ftp to REMOTE manually (names have been changed to protect the innocent). ftp REMOTE Connected to PROXY. 220 aftpd:Check Point FireWall-1 Secure FTP server running on NONAME Name (PROXY:none): 331 aftpd: RADIUS password: you can use password@RADIUS-password NOTE: The 331 line about is literally the way it reads. I talked to the sysadmin and he told do this instead: 1) ftp to the proxy gateway machine PROXY 2) type REMOTEUSERNAME@NTUSERNAME@REMOTE 3) type REMOTEPASSWORD@NTPASSWORD That worked. My question is: How do I configure emacs to do what I did manually to open files on REMOTE? I have tried this in my .emacs (setq ange-ftp-gateway-host "PROXY" ange-ftp-smart-gateway-port "PROXYPORT" ange-ftp-smart-gateway t ) Emacs just hangs when trying to connect, so I cannot see the ftp buffer to tell you what is going on there. Any help will be greatly appreciated. Thanks in advance. int_80h