Article View: news.software.nn
Article #9387NNTP tunneling with nn and ssh?
From: Georg Wittig
Date: Tue, 28 Dec 1999 00:00
Date: Tue, 28 Dec 1999 00:00
47 lines
1947 bytes
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.
Technical Details
Message-ID:
<84bdr5$6bm@postix.gmd.de>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.security.ssh.mbox.zip!not-for-mailShow Full Headers
Complete Article Headers
Message-ID: <84bdr5$6bm@postix.gmd.de> Subject: NNTP tunneling with nn and ssh? Date: Tue, 28 Dec 1999 00:00:00 +0000 From: gwittig@postix.gmd.de (Georg Wittig) Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.security.ssh.mbox.zip!not-for-mail X-Deja-AN: 565817974 Organization: GMD, Sankt Augustin, Germany Newsgroups: news.software.nn,comp.security.ssh