From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tim X Newsgroups: gmane.emacs.help Subject: Re: remote tramp hangs Date: Wed, 02 Dec 2009 21:15:27 +1100 Organization: Rapt Technologies Message-ID: <871vjdhebk.fsf@lion.rapttech.com.au> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1259750660 8532 80.91.229.12 (2 Dec 2009 10:44:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 2 Dec 2009 10:44:20 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Dec 02 11:44:14 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NFmgu-0002f8-3h for geh-help-gnu-emacs@m.gmane.org; Wed, 02 Dec 2009 11:44:12 +0100 Original-Received: from localhost ([127.0.0.1]:49127 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NFmgr-0000ly-LQ for geh-help-gnu-emacs@m.gmane.org; Wed, 02 Dec 2009 05:44:09 -0500 Original-Path: news.stanford.edu!usenet.stanford.edu!news.glorb.com!news2.glorb.com!news.glorb.com!news.astraweb.com!border2.newsrouter.astraweb.com!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) Cancel-Lock: sha1:KN7iW+ZMaFB1naGlrKwGq5P9Xso= Original-Lines: 40 Original-NNTP-Posting-Host: 5e5e319f.news.astraweb.com Original-X-Trace: DXC=FihK3EDSW2=fB5aLm@JgR?RN>L13jG8S6WC]D; KEojV[GH7Q1 Original-Xref: news.stanford.edu gnu.emacs.help:175240 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:70314 Archived-At: raphael.berbain@gmail.com (Raphaƫl Berbain) writes: > * Michael Albinus: > >> You have posted the contents of the *Messages* buffer, and the backtrace >> when you have quit Tramp. I do not see the *debug tramp/scp root@harry* >> buffer. > > Have a look at line 180 & after in my first post. > >> Am I blind? > > Either that, or I am dense . Not sure about anyone else, but I am blind! I have possibly missed the vital post, but the one I saw with debug was only the debug stuff from ssh, nothing from tramp. However, I did have a thought.... If you can connect via tramp to a user account OK, but it appears to fail when you attempt to connect as root AND if you are able to connect as root just using ssh outside of emacs/tramp, then my guess would be that tramp may be having problem detecting the shell prompt. On most Linux boxes, the prompt you get as a regular user is slightly different from the prompt you get when logged in as the root user. I have had problems with tramp in the past where the prompt was different from what you normally get (so different that tramp got confused and failed to connect). This is just a shot in the dark and may not be the issue, but thought it was worth mentioning. The tramp debug output may shed more accurate info. Tim -- tcross (at) rapttech dot com dot au