Gnus development mailing list
 help / color / mirror / Atom feed
From: Hal Snyder <DrXyzzy@mediaone.net>
Subject: ssh foreign server problem
Date: 15 Mar 1999 19:59:15 -0600	[thread overview]
Message-ID: <87r9qq42ks.fsf@gamera.hws> (raw)


I'm having trouble using gnus's nifty ssh foreign host feature. Is it
me, or is there a bug?

I'm running ssh 1.2.26, GNU Emacs 20.3.1, pgnus-0.80, FreeBSD-3.0.

Ssh-agent is running and I have ssh-add'ed my id.

I have a shell account with an ISP, say "isp.com". This is not my main ISP
but they have newsgroups not available on the main news server I use. The
news server will not respond to hosts outside of isp.com.

If I do
  ssh -L 8119:news.isp.com:119 shell.isp.com
then I am able to access the server by configuring a server as follows:

  (nntp "foozle"
      (nntp-address "localhost")
      (nntp-port-number 8119)
      (nntp-record-commands t))
But this is messy.

OTOH, suppose I create another server, per the docs, to use pgnus's built-in
ssh proxying:
  (nntp "barzle"
      (nntp-address "shell.isp.com")
      (nntp-rlogin-program "ssh")
      (nntp-open-connection-function nntp-open-rlogin)
      (nntp-end-of-line "\n")
      (nntp-rlogin-parameters
       ("telnet" "news.isp.com" "nntp")))
When I try to open this server, there's a little traffic out to the
Internet, then gnus just sits there forever saying "Opening nntp
server on barzle...".

Manual telnet from shell.isp.com to news.isp.com, port 119 gets a
positive response from the news server.

I tried setting nntp-record-commands to "t", but nothing goes into the
*nntp-log* buffer.

Any ideas on what's wrong or how to debug this situation?


             reply	other threads:[~1999-03-16  1:59 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-03-16  1:59 Hal Snyder [this message]
1999-03-16  9:20 ` James H. Cloos Jr.
1999-03-16 15:14   ` Hal Snyder
1999-03-22  5:33     ` Hal Snyder

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=87r9qq42ks.fsf@gamera.hws \
    --to=drxyzzy@mediaone.net \
    /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).