Gnus development mailing list
 help / color / mirror / Atom feed
* ssh foreign server problem
@ 1999-03-16  1:59 Hal Snyder
  1999-03-16  9:20 ` James H. Cloos Jr.
  0 siblings, 1 reply; 4+ messages in thread
From: Hal Snyder @ 1999-03-16  1:59 UTC (permalink / 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?


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1999-03-22  5:33 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-03-16  1:59 ssh foreign server problem Hal Snyder
1999-03-16  9:20 ` James H. Cloos Jr.
1999-03-16 15:14   ` Hal Snyder
1999-03-22  5:33     ` Hal Snyder

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).