From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/24209 Path: main.gmane.org!not-for-mail From: Michael Piotrowski Newsgroups: gmane.emacs.gnus.general Subject: Re: ssh tunnel (one more time) Date: Tue, 13 Jul 1999 08:48:43 +0200 Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7BIT X-Trace: main.gmane.org 1035161814 7439 80.91.224.250 (21 Oct 2002 00:56:54 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 00:56:54 +0000 (UTC) Return-Path: Original-Received: from farabi.math.uh.edu (farabi.math.uh.edu [129.7.128.57]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id CAA24899 for ; Tue, 13 Jul 1999 02:52:27 -0400 (EDT) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by farabi.math.uh.edu (8.9.1/8.9.1) with ESMTP id BAB20789; Tue, 13 Jul 1999 01:48:46 -0500 (CDT) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Tue, 13 Jul 1999 01:49:31 -0500 (CDT) Original-Received: from sclp3.sclp.com (root@sclp3.sclp.com [204.252.123.139]) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id BAA29168 for ; Tue, 13 Jul 1999 01:49:21 -0500 (CDT) Original-Received: from alpha.ntp.springer.de (alpha.ntp.springer.de [192.129.24.9]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id CAA24824 for ; Tue, 13 Jul 1999 02:48:10 -0400 (EDT) Original-Received: from ETES1.pip.springer.de ("port 2769"@[172.20.10.45]) by ALPHA.NTP.SPRINGER.DE (PMDF V5.2-31 #35169) with ESMTP id <01JDID8B17XW00008N@ALPHA.NTP.SPRINGER.DE> for ding@gnus.org; Tue, 13 Jul 1999 08:48:50 CE Original-Received: (from mxp@localhost) by ETES1.pip.springer.de (8.7.6/8.7.3) id IAA12101; Tue, 13 Jul 1999 08:48:45 +0200 (MEST) In-reply-to: merlyn@stonehenge.com's message of "09 Jul 1999 13:01:47 -0700" Original-To: ding@gnus.org User-Agent: Gnus/5.070095 (Pterodactyl Gnus v0.95) XEmacs/20.4 (Emerald) Original-Lines: 62 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:24209 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:24209 First, thanks to everybody who replied--unfortunately, I haven't solved the problem yet. merlyn@stonehenge.com (Randal L. Schwartz) writes: > Something to always test would be going to a commandline and typing: > > ssh newsserver -x date > > and making sure that the date and *only* the date comes out. > > And once that works: > > ssh newsserver -x telnet newsserver nntp > > should give you the NNTP connection message. That's exactly what's driving me nuts; it works on the command line, but not in .gnus: $ ssh intermediate-host -x -C telnet -8 news2.asus.com.tw nntp Trying 192.72.126.3... Connected to news2.asus.com.tw. Escape character is '^]'. 200 asustek2.asus.com.tw InterNetNews NNRP server INN 1.7.2 08-Dec-1997 ready (posting ok). LIST 215 Newsgroups in form "group high low flags". asus.support.english.multimedia 0000012755 0000000001 y asus.support.english.mainboard 0000006851 0000000001 y asus.support.english.notebook 0000000917 0000000001 y asus.support.english.server 0000000423 0000000001 y asus.support.chinese.multimedia 0000003918 0000000001 y asus.support.chinese.mainboard 0000002418 0000000001 y asus.support.chinese.notebook 0000000652 0000000002 y asus.support.chinese.server 0000000070 0000000005 y asus.support.english.mainboard.p2lx 0000001307 0000000001 y asus.support.english.mainboard.p2bx 0000019674 0000000001 y asus.support.english.mainboard.p5 0000011143 0000000001 y asus.support.chinese.mainboard.p2lx 0000000402 0000000001 y asus.support.chinese.mainboard.p2bx 0000002141 0000000001 y asus.support.chinese.mainboard.p5 0000003016 0000000001 y . QUIT 205 . Connection closed by foreign host. $ So, the following select method should work as well, especially if it works for everybody else, right? (setq gnus-select-method '(nntp "news2.asus.com.tw" (nntp-address "intermediate-host") (nntp-open-connection-function nntp-open-rlogin) (nntp-rlogin-program "ssh") (nntp-end-of-line "\n") (nntp-rlogin-parameters ("-x" "-C" "telnet" "-8" "news2.asus.com.tw" "nntp")))) -- Michael Piotrowski, M.A. Electronic Technologies, Springer-Verlag Heidelberg