Gnus development mailing list
 help / color / mirror / Atom feed
From: Michael Piotrowski <m.piotrowski@springer.de>
Subject: Re: ssh tunnel (one more time)
Date: Tue, 13 Jul 1999 08:48:43 +0200	[thread overview]
Message-ID: <x6n1x1m4dw.fsf@ETES1.pip.springer.de> (raw)
In-Reply-To: merlyn@stonehenge.com's message of "09 Jul 1999 13:01:47 -0700"

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. <m.piotrowski@springer.de>
Electronic Technologies, Springer-Verlag Heidelberg


  reply	other threads:[~1999-07-13  6:48 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-07-07 12:50 Michael Piotrowski
1999-07-09 17:45 ` Lars Magne Ingebrigtsen
1999-07-09 18:32   ` Andrew Markebo
1999-07-09 18:53     ` Lars Magne Ingebrigtsen
1999-07-09 20:02       ` Andrew Markebo
1999-07-09 20:01 ` Randal L. Schwartz
1999-07-13  6:48   ` Michael Piotrowski [this message]
1999-07-13 21:36     ` Andrew Markebo
1999-07-13 22:18       ` ssh tunnel (one more time) Solution? Andrew Markebo
1999-07-14  0:40         ` Stainless Steel Rat
1999-07-14  6:50         ` Michael Piotrowski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=x6n1x1m4dw.fsf@ETES1.pip.springer.de \
    --to=m.piotrowski@springer.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).