From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/24093 Path: main.gmane.org!not-for-mail From: merlyn@stonehenge.com (Randal L. Schwartz) Newsgroups: gmane.emacs.gnus.general Subject: Re: ssh tunnel (one more time) Date: 09 Jul 1999 13:01:47 -0700 Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no X-Trace: main.gmane.org 1035161721 6874 80.91.224.250 (21 Oct 2002 00:55:21 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 00:55:21 +0000 (UTC) Cc: ding@gnus.org 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 QAA27271 for ; Fri, 9 Jul 1999 16:03:04 -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 PAB23360; Fri, 9 Jul 1999 15:02:50 -0500 (CDT) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Fri, 09 Jul 1999 15:03:41 -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 PAA16476 for ; Fri, 9 Jul 1999 15:03:31 -0500 (CDT) Original-Received: from halfdome.holdit.com (merlyn@halfdome.holdit.com [209.102.105.64]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id QAA27236 for ; Fri, 9 Jul 1999 16:02:26 -0400 (EDT) Original-Received: (from merlyn@localhost) by halfdome.holdit.com (8.9.1/8.9.1) id NAA28317; Fri, 9 Jul 1999 13:01:47 -0700 Original-To: Michael Piotrowski In-Reply-To: Michael Piotrowski's message of "Wed, 07 Jul 1999 14:50:58 +0200" Original-Lines: 45 X-Mailer: Gnus v5.6.44/Emacs 20.3 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:24093 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:24093 >>>>> "Michael" == Michael Piotrowski writes: Michael> Hi, Michael> I'm trying to use ssh with nntp-open-rlogin in the gnus-select-method Michael> (instead of setting up a tunnel by starting ssh manually, as I'm Michael> currently doing it): Michael> (setq gnus-select-method Michael> '(nntp "newsserver" Michael> (nntp-open-connection-function nntp-open-rlogin) Michael> (nntp-address "intermediate-host") Michael> (nntp-rlogin-program "ssh") Michael> (nntp-end-of-line "\n") Michael> (nntp-rlogin-parameters Michael> ("-x" "telnet" "newsserver" "nntp")))) Michael> When I start gnus with this select method, it hangs while trying to Michael> fetch the list of newsgroups from the server. However, when I start Michael> gnus with gnus-no-server and then use `j' in the Group buffer Michael> everything works as it should. Michael> I know that the connection works. I know that the select method is Michael> ok, otherwise gnus-group-jump-to-group wouldn't work, right? I seem Michael> to remember that I once had it working with an older version of Gnus, Michael> and it seems to work for other people, too. Any ideas what the Michael> problem could be? 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. -- Name: Randal L. Schwartz / Stonehenge Consulting Services (503)777-0095 Keywords: Perl training, UNIX[tm] consulting, video production, skiing, flying Email: Snail: (Call) PGP-Key: (finger merlyn@teleport.com) Web: My Home Page! Quote: "I'm telling you, if I could have five lines in my .sig, I would!" -- me