From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/36601 Path: main.gmane.org!not-for-mail From: Itai Zukerman Newsgroups: gmane.emacs.gnus.general Subject: Re: Tunelling nnimap through ssh shell (Was: nnimap-authinfo-file question) Date: 05 Jun 2001 18:42:12 -0400 Message-ID: <87itiar1kr.fsf@matt.w80.math-hat.com> References: <86n17v7pst.fsf@monsterisland.homonculus.net> <87elsyop3w.fsf_-_@balder.seapine.com> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035172158 9449 80.91.224.250 (21 Oct 2002 03:49:18 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 03:49:18 +0000 (UTC) Return-Path: Return-Path: Original-Received: (qmail 11161 invoked from network); 5 Jun 2001 22:42:13 -0000 Original-Received: from zukerman-0.dsl.speakeasy.net (HELO matt.w80.math-hat.com) (216.254.75.141) by gnus.org with SMTP; 5 Jun 2001 22:42:13 -0000 Original-Received: from zukerman by matt.w80.math-hat.com with local (Exim 3.22 #1 (Debian)) id 157PWe-0003BF-00 for ; Tue, 05 Jun 2001 18:42:12 -0400 Original-To: ding@gnus.org In-Reply-To: (Kai.Grossjohann@CS.Uni-Dortmund.DE's message of "05 Jun 2001 23:51:27 +0200") User-Agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/20.7 Original-Lines: 28 Xref: main.gmane.org gmane.emacs.gnus.general:36601 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:36601 > [...] Doug is tunneling his IMAP connection through > ssh. ssh has connected to the remote host and established the > tunnel. Now Gnus is opening a connection to the real IMAP server > through this tunnel. Time passes. The real IMAP server hits the idle > time out and closes the connection. But the ssh tunnel is still > there. My experience has been this: 1 Do "ssh imapd". 2 Putter along happily without sending anything to the ssh process. 3 The remote end of the connection gets closed (by sshd, not by imapd!) but the local ssh client doesn't know that, yet. 4 Try to send a command to the ssh process and you get back a message about a connection timeout and the process dies. Hence the "Garbage..." message. At least, I think this is what's happening. Perhaps this is really a bug in ssh. Would gnus do the right thing if the process died in #3 above? -itai