From mboxrd@z Thu Jan 1 00:00:00 1970
X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/33047
Path: main.gmane.org!not-for-mail
From: Paul Stevenson
Newsgroups: gmane.emacs.gnus.general
Subject: Re: tunneling nntp connection
Date: 31 Oct 2000 15:07:19 +0000
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
X-Trace: main.gmane.org 1035169226 23091 80.91.224.250 (21 Oct 2002 03:00:26 GMT)
X-Complaints-To: usenet@main.gmane.org
NNTP-Posting-Date: Mon, 21 Oct 2002 03:00:26 +0000 (UTC)
Return-Path:
Original-Received: from spinoza.math.uh.edu (spinoza.math.uh.edu [129.7.128.18])
by mailhost.sclp.com (Postfix) with ESMTP id 42171D049A
for ; Tue, 31 Oct 2000 10:08:04 -0500 (EST)
Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5])
by spinoza.math.uh.edu (8.9.1/8.9.1) with ESMTP id JAB16757;
Tue, 31 Oct 2000 09:07:56 -0600 (CST)
Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Tue, 31 Oct 2000 09:07:19 -0600 (CST)
Original-Received: from mailhost.sclp.com (postfix@66-209.196.61.interliant.com [209.196.61.66] (may be forged))
by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id JAA18279
for ; Tue, 31 Oct 2000 09:07:09 -0600 (CST)
Original-Received: from marie.ph.surrey.ac.uk (marie.ph.surrey.ac.uk [131.227.115.98])
by mailhost.sclp.com (Postfix) with ESMTP id 90BE0D049A
for ; Tue, 31 Oct 2000 10:07:34 -0500 (EST)
Original-Received: from gromit.ph.surrey.ac.uk (gromit.ph.surrey.ac.uk [131.227.115.14])
by marie.ph.surrey.ac.uk (8.10.0/8.10.0) with ESMTP id e9VF7Fs23168
for ; Tue, 31 Oct 2000 15:07:15 GMT
Original-Received: (from phs3ps@localhost)
by gromit.ph.surrey.ac.uk (8.10.0/8.10.0) id e9VF7JA29582;
Tue, 31 Oct 2000 15:07:19 GMT
Original-To: ding@gnus.org
In-Reply-To:
Original-Lines: 34
User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.3
Precedence: list
X-Majordomo: 1.94.jlt7
Xref: main.gmane.org gmane.emacs.gnus.general:33047
X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:33047
Stainless Steel Rat writes:
> Step one: use SSH. You don't want passwords bouncing around in the clear.
I agree, but there is no sshd on the other machine, so I use rsh with
an .rhosts file. Not ideal, I know.
> Step twp: use Netcat (nc). It works like telnet except that it is totally
> clean and transparent.
>
> Step three:
> (setq gnus-select-method
> '(nntp "news.gweep.net"
> (nntp-address "sidehack.gweep.net")
> (nntp-open-connection-function nntp-open-rlogin)
> (nntp-end-of-line "\n")
> (nntp-rlogin-program "ssh")
> (nntp-rlogin-parameters
> ("bin/nc" "news.gweep.net" "nntp"))))
> (setq gnus-secondary-select-methods nil)
>
> Where "bin/nc" is the path to the netcat executable on the news server.
That looks good. I'm slightly loath to eat up more of my miniscule
quota with nc and trying to get it to compile on the sun with no
gcc... but I will if necessary. I tried telnet first and I can't post
because there is no subject line! Presumably end-of-line is being
garbled. I guess this is why you recommeded nc...
--
. Dr Paul Stevenson . Reasearch Fellow . University of Surrey .
. phone: +44 (0) 1483 876795 . fax +44 (0) 1483 876781 .
. p.stevenson@surrey.ac.uk . http://www.ph.surrey.ac.uk/~phs3ps .
. I dream in beige .