From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/15044 Path: main.gmane.org!not-for-mail From: Eric Hendrickson Newsgroups: gmane.emacs.gnus.general Subject: Re: ssh rulez Date: 22 Apr 1998 14:27:50 -0400 Organization: D.E. Shaw & Co., L.P. Sender: owner-ding@hpc.uh.edu Message-ID: References: Reply-To: ericdh@tiac.net NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 (generated by tm-edit 7.108) Content-Type: text/plain; charset=US-ASCII X-Trace: main.gmane.org 1035154140 19758 80.91.224.250 (20 Oct 2002 22:49:00 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 22:49:00 +0000 (UTC) Cc: ding@gnus.org Return-Path: Original-Received: from xemacs.org (xemacs.cs.uiuc.edu [128.174.252.16]) by altair.xemacs.org (8.8.8/8.8.8) with ESMTP id LAA11400 for ; Wed, 22 Apr 1998 11:20:19 -0700 Original-Received: from sina.hpc.uh.edu (Sina.HPC.UH.EDU [129.7.3.5]) by xemacs.org (8.8.5/8.8.5) with ESMTP id NAA00861 for ; Wed, 22 Apr 1998 13:30:04 -0500 (CDT) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by sina.hpc.uh.edu (8.7.3/8.7.3) with ESMTP id NAH24651; Wed, 22 Apr 1998 13:30:23 -0500 (CDT) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Wed, 22 Apr 1998 13:29:05 -0500 (CDT) Original-Received: from claymore.vcinet.com (claymore.vcinet.com [208.205.12.23]) by sina.hpc.uh.edu (8.7.3/8.7.3) with SMTP id NAA24615 for ; Wed, 22 Apr 1998 13:28:46 -0500 (CDT) Original-Received: (qmail 20305 invoked by uid 504); 22 Apr 1998 18:28:11 -0000 Original-Received: (qmail 20302 invoked from network); 22 Apr 1998 18:28:09 -0000 Original-Received: from flavius.boston.deshaw.com (edh@149.77.132.155) by claymore.vcinet.com with SMTP; 22 Apr 1998 18:28:09 -0000 Original-Received: (from edh@localhost) by flavius.boston.deshaw.com (8.8.8/8.8.8) id OAA18159; Wed, 22 Apr 1998 14:27:53 -0400 Original-To: Eze Ogwuma X-Face: )qt4L0.NCL#1U|Vlwo`YjAM):N>!I\b(w`1:[E5xo]dRz0\m*5ofHq7A'fopR;J5Ey11dFh{$o*tv]\xCB#}~M}0CfCoy8]{97T6m_e[}VMhmQff8.-eT]_,oPlG{`G#=s*dU6Qaum5cYq[GH;"!3fp<..E+)yM2Jd:wUOZ@+_2D|3AnNz*3Xu\Il/dDJ.]iWVXDn\#2c*QfanIas.[m]5!} X-URL: The Crystal Cave X-Geek: GAT d-() s++: a- C++$ US++++$ P++(---)$ L E+(---) W+++$ N+$>++ o+ K !w--- !O M+(-) !V-- PS+ PE Y+>++ PGP>+++ t+(++)@ !5 X+ R tv+ b+>+++ DI++++ D+ G e>++ h(+) r++ y+ [GeekCode 3.1] X-Microsoft: Just say perl -MIO::Socket -e 'IO::Socket::INET->new(PeerAddr=>"ftp.microsoft.com:139",Proto=>'tcp')->send("Die sucker", MSG_OOB)' X-sPoOk: AK-47 Craig Livingstone Treasury Vince Foster Delta Force Clinton In-Reply-To: Eze Ogwuma's message of "15 Apr 1998 04:50:20 +0100" Original-Lines: 54 X-Mailer: Gnus v5.6.4/XEmacs 20.3 - "Vatican City" Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:15044 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:15044 Gnus hangs for me also, when I try to open a similar server: (nntp "news.tc.umn.edu" (nntp-address "birch.math.umn.edu") (nntp-rlogin-program "ssh") (nntp-rlogin-user-name "eric") (nntp-open-connection-function nntp-open-rlogin) (nntp-end-of-line "\n") (nntp-rlogin-parameters ("-x" "-C" "-o" "CompressionLevel" "9" "nc" "news.tc.umn.edu" "nntp"))) This is using nc (netcat) instead of telnet, but I tried it with telnet just to make sure, and no luck there either. Is there a way to debug this? I tried setting nntp-record-commands, but the *nntpd* buffer is empty so it isn't even getting that far. Any ideas on what I could be doing wrong? Thanks, Eric Eze Ogwuma says: "I'm going to Paris and taking Eric" > Lars Magne Ingebrigtsen writes: > > > Someone told me that ssh was quite good at compressing things, so I > > switched compression on and used the following select method: > > > > (nntp "news" > > (nntp-address "copper.uio.no") > > (nntp-rlogin-program "ssh") > > (nntp-open-connection-function nntp-open-rlogin) > > (nntp-end-of-line "\n") > > (nntp-rlogin-parameters > > ("telnet" "news.uio.no" "nntp"))) > > All that happens when I do something like this is that Gnus hangs. > > If I point ssh at port 119 or 25 or any other that gives a welcome > message other than the standard telnet message I get this sort of > error: > > $ ssh localhost -p 119 > Bad remote protocol version identification: '200 typhoon.ncc.co.uk > InterNetNews server INN 1.7 16-Oct-1997 ready > > Am I doing something wrong? > > -- > Eze Ogwuma > > -- Lensmen eat Jedi for breakfast.