🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nn
1 messages
1 total messages Started by Georg Wittig Tue, 28 Dec 1999 00:00
NNTP tunneling with nn and ssh?
#9387
Author: Georg Wittig
Date: Tue, 28 Dec 1999 00:00
47 lines
1947 bytes
	[[ I don't know if I have a problem with ssh or with nn; hence
	   the crosspost. ]]


hello world,

On my workstation I'm using nn as my newsreader (really "nn", not
Netscape Navigator! :-) . I'm trying to tunnel the NNTP traffic
between the newsserver and my workstation via ssh.

What works:
	nn -R NEWSSERVER
(i.e. without ssh tunneling).

Now I try tunneling. As root on my workstation I give the command:
	ssh -n -l USERID -L 119:NEWSSERVER:119 NEWSSERVER sleep 2000
which works fine.
Then I give the following command on my workstation:
	nn -R localhost

It starts up fine. But then the first error message appears: Cannot
open active file. Why's that? Why is it looking for the active file on
localhost instead of on NEWSSERVER via the ssh tunnel?

O.k. That's not a fatal error for me. I wrote a small shell wrapper
which first scp's the active file from the newsserver to my
workstation. I start that shell wrapper, and nn really sees my local
copy of the active file. But then nn finishes because it thinks there
are no new articles. Is it looking for /var/spool/news on my local
workstation again? Why's that?

How can I get the tunnel working? What did a miss?

Thanks for your help,


PS: There's no difference if I omit the "-l USERID" in the ssh
command.

PPS: The command
	telnet localhost 119
correctly connects me to the innd on the newsserver.



Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads