From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.devel Subject: Re: tramp: ssh method broken Date: Wed, 21 Aug 2002 17:40:43 +0200 Sender: emacs-devel-admin@gnu.org Message-ID: References: NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1029944485 19222 127.0.0.1 (21 Aug 2002 15:41:25 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 21 Aug 2002 15:41:25 +0000 (UTC) Cc: emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17hXbn-0004zv-00 for ; Wed, 21 Aug 2002 17:41:23 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17hY4G-0006pD-00 for ; Wed, 21 Aug 2002 18:10:48 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 17hXcx-00076X-00; Wed, 21 Aug 2002 11:42:35 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 17hXbH-0006wT-00 for emacs-devel@gnu.org; Wed, 21 Aug 2002 11:40:51 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 17hXbB-0006sd-00 for emacs-devel@gnu.org; Wed, 21 Aug 2002 11:40:50 -0400 Original-Received: from ns.suse.de ([213.95.15.193] helo=Cantor.suse.de) by monty-python.gnu.org with esmtp (Exim 4.10) id 17hXbA-0006sY-00 for emacs-devel@gnu.org; Wed, 21 Aug 2002 11:40:45 -0400 Original-Received: from Hermes.suse.de (Charybdis.suse.de [213.95.15.201]) by Cantor.suse.de (Postfix) with ESMTP id 2E099149FD; Wed, 21 Aug 2002 17:40:44 +0200 (MEST) X-Authentication-Warning: sykes.suse.de: schwab set sender to schwab@suse.de using -f Original-To: Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai =?iso-8859-15?q?Gro=DFjohann?=) X-Yow: I am deeply CONCERNED and I want something GOOD for BREAKFAST! In-Reply-To: (Kai.Grossjohann@CS.Uni-Dortmund.DE's message of "Wed, 21 Aug 2002 17:06:32 +0200") Original-Lines: 52 User-Agent: Gnus/5.090007 (Oort Gnus v0.07) Emacs/21.3.50 (ia64-suse-linux) Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:6734 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:6734 Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Großjohann) writes: |> Andreas Schwab writes: |> |> > The ssh method seems to be broken for big files. Files that are bigger |> > than about 100K often (but not always) end up being empty. Files that are |> > even bigger are always retrieved as empty. Also, remotely saving files |> > does not work at all, tramp is constantly trying to reinitialize the |> > shell. By contrast, the scp method is working just fine. |> |> I tried to reproduce both problems, but I could only reproduce the |> saving problem. Is it fixed now? No. The following messages are repeated infinitely: tramp: Initializing remote shell tramp: Waiting 30s for remote `/bin/sh' to come up... tramp: Setting up remote shell environment tramp: Determining coding system tramp: Waiting 30s for `HISTFILE=$HOME/.tramp_history; HISTSIZE=1' tramp: Waiting 30s for `set +o vi +o emacs' tramp: Waiting 30s for `unset MAIL MAILCHECK MAILPATH' tramp: Waiting 30s for `unset CDPATH' tramp: Setting shell prompt tramp: Opening connection at neodym using ssh... tramp: Processing actions tramp: Waiting 60s for prompt from remote shell tramp: Looking for pattern ^.*\([pP]assword\|passphrase.*\): tramp: Looking for pattern .*ogin: * tramp: Looking for pattern ^[^#$%> ]*[#$%>] * tramp: Looking for pattern ^.*\(Connection \(?:\(?:clo\|refu\)sed\)\|Host key verification failed\.\|Login \(?:[Ii]ncorrect\)\|Name or service not known\|\(?:Permission denied\|Sorry, try again\)\.\).*\|^.*\(Received signal [0-9]+\).* tramp: Looking for pattern Are you sure you want to continue connecting (yes/no)\? * tramp: Looking for pattern ^.*\([pP]assword\|passphrase.*\): tramp: Looking for pattern .*ogin: * tramp: Looking for pattern ^[^#$%> ]*[#$%>] * tramp: Found remote shell prompt. |> Maybe it also works now to find large remote files? I still sometimes get no data, but it eventually succeeds when repeated. Once I got into the loop above I don't seem to be able to use tramp w/ ssh at all until I kill the *tramp/ssh ...* buffer. Andreas. -- Andreas Schwab, SuSE Labs, schwab@suse.de SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 Nürnberg Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."