From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thierry Volpiatto Newsgroups: gmane.emacs.bugs Subject: bug#13390: tramp-adb hanging forever Date: Mon, 18 Feb 2013 15:52:54 +0100 Organization: Emacs Helm Message-ID: <874nh91xo9.fsf@gmail.com> References: <87r4lveebo.fsf@gmail.com> <87lic3cq6c.fsf@gmx.de> <87mwwje3zs.fsf@gmail.com> <87a9sisuhp.fsf@gmx.de> <87y5eo3x6n.fsf@gmx.de> <87bobhnbs5.fsf@gmail.com> <87hal9sx09.fsf@gmx.de> <87d2vxelqj.fsf@gmail.com> <878v6lsn75.fsf@gmx.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1361199261 24005 80.91.229.3 (18 Feb 2013 14:54:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 18 Feb 2013 14:54:21 +0000 (UTC) Cc: 13390@debbugs.gnu.org To: Michael Albinus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Feb 18 15:54:41 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1U7S77-0006Gb-0F for geb-bug-gnu-emacs@m.gmane.org; Mon, 18 Feb 2013 15:54:41 +0100 Original-Received: from localhost ([::1]:39216 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U7S6n-0008QF-2a for geb-bug-gnu-emacs@m.gmane.org; Mon, 18 Feb 2013 09:54:21 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:44078) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U7S6g-0008P4-W8 for bug-gnu-emacs@gnu.org; Mon, 18 Feb 2013 09:54:19 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U7S6W-0005eI-Ck for bug-gnu-emacs@gnu.org; Mon, 18 Feb 2013 09:54:14 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:56848) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U7S6W-0005dr-3y for bug-gnu-emacs@gnu.org; Mon, 18 Feb 2013 09:54:04 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1U7S7S-0004Zp-EQ for bug-gnu-emacs@gnu.org; Mon, 18 Feb 2013 09:55:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Thierry Volpiatto Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 18 Feb 2013 14:55:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13390 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 13390-submit@debbugs.gnu.org id=B13390.136119925217524 (code B ref 13390); Mon, 18 Feb 2013 14:55:02 +0000 Original-Received: (at 13390) by debbugs.gnu.org; 18 Feb 2013 14:54:12 +0000 Original-Received: from localhost ([127.0.0.1]:34079 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U7S6b-0004YZ-LO for submit@debbugs.gnu.org; Mon, 18 Feb 2013 09:54:11 -0500 Original-Received: from mail-ee0-f54.google.com ([74.125.83.54]:35166) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U7S6W-0004YN-G1 for 13390@debbugs.gnu.org; Mon, 18 Feb 2013 09:54:08 -0500 Original-Received: by mail-ee0-f54.google.com with SMTP id c41so3025878eek.41 for <13390@debbugs.gnu.org>; Mon, 18 Feb 2013 06:53:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:from:to:cc:subject:organization:references:date :in-reply-to:message-id:user-agent:mime-version:content-type; bh=5tFakhmUGpxVuSSjd1QByZKzRRefpnz+J2x1STATHZc=; b=KtcHSDypeOUzieLpjaa1XdXRQIl45xUH71G3/Omi/O5Sk+OBsSgB1GGU6+JlrXt4Mk mkyhT0WoKdXVkpainDOymd3JC+8iufjxf2g+tZq0+qyTl7PiDvsDkM0QbGxm85hA/5Gn ljoLBwOwQMepM/kl5CBVrJ4BRfOioMsTOj8VeARt8Ha/bX/6bqThCdtzsA26hhiVn26M nVgh6GAkY5pWBppgQWgUgqt3SI6HzOjSqdhK3cQUlbPq/YEbwwjgk0OjvA9FHYC0HBsi Vr4TFSCMGuHhN4dneeh0Umjvd9cjk72Yx+6iDwzKsAEm5Ccw99yusAIHOiK43tpgE4Cn 5+Dw== X-Received: by 10.14.182.137 with SMTP id o9mr45448238eem.13.1361199183809; Mon, 18 Feb 2013 06:53:03 -0800 (PST) Original-Received: from dell-14z (lbe83-2-78-243-104-167.fbx.proxad.net. [78.243.104.167]) by mx.google.com with ESMTPS id o3sm98928051eem.15.2013.02.18.06.53.01 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Mon, 18 Feb 2013 06:53:02 -0800 (PST) In-Reply-To: <878v6lsn75.fsf@gmx.de> (Michael Albinus's message of "Mon, 18 Feb 2013 15:37:02 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:71474 Archived-At: Michael Albinus writes: > Thierry Volpiatto writes: > >> Hi Michael, > > Hi Thierry, > >>> /bin/sh does not exist on Android devices. That's why you need to >>> configure another shell. As I have said above: "I've just tweaked Tramp >>> to support this; see the Tramp manual for setup hints." Please do so :-) >> Thanks, but not working either playing with these settings. >> I will try again later reinstalling sshdroid (I don't like it, too much >> ads). > > Send traces, level 6. (file-error \"`/system/bin/id -g ' does not return a valid Lisp expression: `uid=0(root) gid=0(root) groups=0(root) '\") Trace: --8<---------------cut here---------------start------------->8--- ;; GNU Emacs: 24.3.50.1 Tramp: 2.2.7-pre -*- mode: outline; -*- 15:39:06.329823 tramp-maybe-open-connection (3) # Opening connection for 192.168.0.24#2222 using ssh... 15:39:06.331566 tramp-maybe-open-connection (6) # /bin/sh -i 15:39:06.332828 tramp-wait-for-regexp (6) # #$ 15:39:06.334452 tramp-maybe-open-connection (3) # Sending command `exec ssh -p 2222 -o ControlPath=/tmp/tramp.29495cl1.%r@%h:%p -o ControlMaster=auto -o ControlPersist=no -e none 192.168.0.24' 15:39:06.334877 tramp-send-command (6) # exec ssh -p 2222 -o ControlPath=/tmp/tramp.29495cl1.%r@%h:%p -o ControlMaster=auto -o ControlPersist=no -e none 192.168.0.24 15:39:06.335792 tramp-process-actions (3) # Waiting for prompts from remote shell 15:39:07.337277 tramp-process-one-action (5) # Looking for regexp "\(.*ogin\( .*\)?: *\)\'" from remote shell 15:39:07.337860 tramp-process-one-action (5) # Looking for regexp "\(^.*\([pP]assword\|[pP]assphrase\).*:? *\)\'" from remote shell 15:39:07.338393 tramp-process-one-action (5) # Looking for regexp "\(^.*\(Connection \(?:\(?:clo\|refu\)sed\)\|Host key verification failed\.\|Login \(?:[Ii]ncorrect\)\|N\(?:ame or service not known\|o supported authentication methods left to try!\)\|Permission denied\|\(?:Sorry, try again\|Timeout, server not responding\)\.\).*\|^.*\(Received signal [0-9]+\).*\)\'" from remote shell 15:39:07.338948 tramp-process-one-action (5) # Looking for regexp "\(^[^#$%> ]*[#$%>] *\)\'" from remote shell 15:39:07.339433 tramp-process-one-action (5) # Looking for regexp "\(\(?:^\|\)[^]#$%> ]*#?[]#$%>] *\(\[[0-9;]*[a-zA-Z] *\)*\)\'" from remote shell 15:39:07.339915 tramp-process-one-action (5) # Looking for regexp "\(\(Are you sure you want to continue connecting (yes/no)\?\)\s-*\)\'" from remote shell 15:39:07.340246 tramp-process-one-action (5) # Looking for regexp "\(\(\(?:Store key in cache\? (y/\|Update cached key\? (y/n, Return cancels connectio\)n)\)\s-*\)\'" from remote shell 15:39:07.340562 tramp-process-one-action (5) # Looking for regexp "\(\(TERM = (.*)\|Terminal type\? \[.*\]\)\s-*\)\'" from remote shell 15:39:07.340875 tramp-process-one-action (5) # Looking for regexp "\(\)\'" from remote shell 15:39:07.341176 tramp-process-one-action (5) # Call `tramp-action-process-alive' 15:39:08.342844 tramp-process-one-action (5) # Looking for regexp "\(.*ogin\( .*\)?: *\)\'" from remote shell 15:39:08.343412 tramp-process-one-action (5) # Looking for regexp "\(^.*\([pP]assword\|[pP]assphrase\).*:? *\)\'" from remote shell 15:39:08.344037 tramp-process-one-action (5) # Looking for regexp "\(^.*\(Connection \(?:\(?:clo\|refu\)sed\)\|Host key verification failed\.\|Login \(?:[Ii]ncorrect\)\|N\(?:ame or service not known\|o supported authentication methods left to try!\)\|Permission denied\|\(?:Sorry, try again\|Timeout, server not responding\)\.\).*\|^.*\(Received signal [0-9]+\).*\)\'" from remote shell 15:39:08.344556 tramp-process-one-action (5) # Looking for regexp "\(^[^#$%> ]*[#$%>] *\)\'" from remote shell 15:39:08.344977 tramp-process-one-action (5) # Looking for regexp "\(\(?:^\|\)[^]#$%> ]*#?[]#$%>] *\(\[[0-9;]*[a-zA-Z] *\)*\)\'" from remote shell 15:39:08.345299 tramp-process-one-action (5) # Looking for regexp "\(\(Are you sure you want to continue connecting (yes/no)\?\)\s-*\)\'" from remote shell 15:39:08.345611 tramp-process-one-action (5) # Looking for regexp "\(\(\(?:Store key in cache\? (y/\|Update cached key\? (y/n, Return cancels connectio\)n)\)\s-*\)\'" from remote shell 15:39:08.345918 tramp-process-one-action (5) # Looking for regexp "\(\(TERM = (.*)\|Terminal type\? \[.*\]\)\s-*\)\'" from remote shell 15:39:08.346218 tramp-process-one-action (5) # Looking for regexp "\(\)\'" from remote shell 15:39:08.346519 tramp-process-one-action (5) # Call `tramp-action-process-alive' 15:39:09.348187 tramp-process-one-action (5) # Looking for regexp "\(.*ogin\( .*\)?: *\)\'" from remote shell 15:39:09.348772 tramp-process-one-action (5) # Looking for regexp "\(^.*\([pP]assword\|[pP]assphrase\).*:? *\)\'" from remote shell 15:39:09.349294 tramp-process-one-action (5) # Looking for regexp "\(^.*\(Connection \(?:\(?:clo\|refu\)sed\)\|Host key verification failed\.\|Login \(?:[Ii]ncorrect\)\|N\(?:ame or service not known\|o supported authentication methods left to try!\)\|Permission denied\|\(?:Sorry, try again\|Timeout, server not responding\)\.\).*\|^.*\(Received signal [0-9]+\).*\)\'" from remote shell 15:39:09.349822 tramp-process-one-action (5) # Looking for regexp "\(^[^#$%> ]*[#$%>] *\)\'" from remote shell 15:39:09.350299 tramp-process-one-action (5) # Looking for regexp "\(\(?:^\|\)[^]#$%> ]*#?[]#$%>] *\(\[[0-9;]*[a-zA-Z] *\)*\)\'" from remote shell 15:39:09.350634 tramp-process-one-action (5) # Looking for regexp "\(\(Are you sure you want to continue connecting (yes/no)\?\)\s-*\)\'" from remote shell 15:39:09.350944 tramp-process-one-action (5) # Looking for regexp "\(\(\(?:Store key in cache\? (y/\|Update cached key\? (y/n, Return cancels connectio\)n)\)\s-*\)\'" from remote shell 15:39:09.351247 tramp-process-one-action (5) # Looking for regexp "\(\(TERM = (.*)\|Terminal type\? \[.*\]\)\s-*\)\'" from remote shell 15:39:09.351543 tramp-process-one-action (5) # Looking for regexp "\(\)\'" from remote shell 15:39:09.351917 tramp-process-one-action (5) # Call `tramp-action-process-alive' 15:39:10.353592 tramp-process-one-action (5) # Looking for regexp "\(.*ogin\( .*\)?: *\)\'" from remote shell 15:39:10.354159 tramp-process-one-action (5) # Looking for regexp "\(^.*\([pP]assword\|[pP]assphrase\).*:? *\)\'" from remote shell 15:39:10.354688 tramp-process-one-action (5) # Looking for regexp "\(^.*\(Connection \(?:\(?:clo\|refu\)sed\)\|Host key verification failed\.\|Login \(?:[Ii]ncorrect\)\|N\(?:ame or service not known\|o supported authentication methods left to try!\)\|Permission denied\|\(?:Sorry, try again\|Timeout, server not responding\)\.\).*\|^.*\(Received signal [0-9]+\).*\)\'" from remote shell 15:39:10.355202 tramp-process-one-action (5) # Looking for regexp "\(^[^#$%> ]*[#$%>] *\)\'" from remote shell 15:39:10.355736 tramp-process-one-action (5) # Looking for regexp "\(\(?:^\|\)[^]#$%> ]*#?[]#$%>] *\(\[[0-9;]*[a-zA-Z] *\)*\)\'" from remote shell 15:39:10.356085 tramp-process-one-action (5) # Looking for regexp "\(\(Are you sure you want to continue connecting (yes/no)\?\)\s-*\)\'" from remote shell 15:39:10.356403 tramp-process-one-action (5) # Looking for regexp "\(\(\(?:Store key in cache\? (y/\|Update cached key\? (y/n, Return cancels connectio\)n)\)\s-*\)\'" from remote shell 15:39:10.356726 tramp-process-one-action (5) # Looking for regexp "\(\(TERM = (.*)\|Terminal type\? \[.*\]\)\s-*\)\'" from remote shell 15:39:10.357023 tramp-process-one-action (5) # Looking for regexp "\(\)\'" from remote shell 15:39:10.357326 tramp-process-one-action (5) # Call `tramp-action-process-alive' 15:39:10.800135 tramp-process-one-action (5) # Looking for regexp "\(.*ogin\( .*\)?: *\)\'" from remote shell 15:39:10.801324 tramp-process-one-action (5) # Looking for regexp "\(^.*\([pP]assword\|[pP]assphrase\).*:? *\)\'" from remote shell 15:39:10.801765 tramp-process-one-action (5) # Looking for regexp "\(^.*\(Connection \(?:\(?:clo\|refu\)sed\)\|Host key verification failed\.\|Login \(?:[Ii]ncorrect\)\|N\(?:ame or service not known\|o supported authentication methods left to try!\)\|Permission denied\|\(?:Sorry, try again\|Timeout, server not responding\)\.\).*\|^.*\(Received signal [0-9]+\).*\)\'" from remote shell 15:39:10.802161 tramp-process-one-action (5) # Looking for regexp "\(^[^#$%> ]*[#$%>] *\)\'" from remote shell 15:39:10.802481 tramp-process-one-action (5) # Looking for regexp "\(\(?:^\|\)[^]#$%> ]*#?[]#$%>] *\(\[[0-9;]*[a-zA-Z] *\)*\)\'" from remote shell 15:39:10.802823 tramp-process-one-action (5) # Looking for regexp "\(\(Are you sure you want to continue connecting (yes/no)\?\)\s-*\)\'" from remote shell 15:39:10.803143 tramp-process-one-action (5) # Looking for regexp "\(\(\(?:Store key in cache\? (y/\|Update cached key\? (y/n, Return cancels connectio\)n)\)\s-*\)\'" from remote shell 15:39:10.803454 tramp-process-one-action (5) # Looking for regexp "\(\(TERM = (.*)\|Terminal type\? \[.*\]\)\s-*\)\'" from remote shell 15:39:10.803832 tramp-process-one-action (5) # Looking for regexp "\(\)\'" from remote shell 15:39:10.804140 tramp-process-one-action (5) # Call `tramp-action-process-alive' 15:39:11.192347 tramp-process-one-action (5) # Looking for regexp "\(.*ogin\( .*\)?: *\)\'" from remote shell 15:39:11.193126 tramp-process-one-action (5) # Looking for regexp "\(^.*\([pP]assword\|[pP]assphrase\).*:? *\)\'" from remote shell 15:39:11.193497 tramp-process-one-action (5) # Call `tramp-action-password' 15:39:11.193848 tramp-action-password (3) # Sending password 15:39:11.197032 tramp-process-one-action (5) # Looking for regexp "\(^.*\(Connection \(?:\(?:clo\|refu\)sed\)\|Host key verification failed\.\|Login \(?:[Ii]ncorrect\)\|N\(?:ame or service not known\|o supported authentication methods left to try!\)\|Permission denied\|\(?:Sorry, try again\|Timeout, server not responding\)\.\).*\|^.*\(Received signal [0-9]+\).*\)\'" from remote shell 15:39:11.197674 tramp-process-one-action (5) # Looking for regexp "\(^[^#$%> ]*[#$%>] *\)\'" from remote shell 15:39:11.198008 tramp-process-one-action (5) # Looking for regexp "\(\(?:^\|\)[^]#$%> ]*#?[]#$%>] *\(\[[0-9;]*[a-zA-Z] *\)*\)\'" from remote shell 15:39:11.198335 tramp-process-one-action (5) # Looking for regexp "\(\(Are you sure you want to continue connecting (yes/no)\?\)\s-*\)\'" from remote shell 15:39:11.198658 tramp-process-one-action (5) # Looking for regexp "\(\(\(?:Store key in cache\? (y/\|Update cached key\? (y/n, Return cancels connectio\)n)\)\s-*\)\'" from remote shell 15:39:11.198978 tramp-process-one-action (5) # Looking for regexp "\(\(TERM = (.*)\|Terminal type\? \[.*\]\)\s-*\)\'" from remote shell 15:39:11.199286 tramp-process-one-action (5) # Looking for regexp "\(\)\'" from remote shell 15:39:11.199594 tramp-process-one-action (5) # Call `tramp-action-process-alive' 15:39:11.199857 tramp-process-one-action (5) # Looking for regexp "\(.*ogin\( .*\)?: *\)\'" from remote shell 15:39:11.199967 tramp-process-one-action (5) # Looking for regexp "\(^.*\([pP]assword\|[pP]assphrase\).*:? *\)\'" from remote shell 15:39:11.200084 tramp-process-one-action (5) # Looking for regexp "\(^.*\(Connection \(?:\(?:clo\|refu\)sed\)\|Host key verification failed\.\|Login \(?:[Ii]ncorrect\)\|N\(?:ame or service not known\|o supported authentication methods left to try!\)\|Permission denied\|\(?:Sorry, try again\|Timeout, server not responding\)\.\).*\|^.*\(Received signal [0-9]+\).*\)\'" from remote shell 15:39:11.200220 tramp-process-one-action (5) # Looking for regexp "\(^[^#$%> ]*[#$%>] *\)\'" from remote shell 15:39:11.200329 tramp-process-one-action (5) # Looking for regexp "\(\(?:^\|\)[^]#$%> ]*#?[]#$%>] *\(\[[0-9;]*[a-zA-Z] *\)*\)\'" from remote shell 15:39:11.200427 tramp-process-one-action (5) # Looking for regexp "\(\(Are you sure you want to continue connecting (yes/no)\?\)\s-*\)\'" from remote shell 15:39:11.200524 tramp-process-one-action (5) # Looking for regexp "\(\(\(?:Store key in cache\? (y/\|Update cached key\? (y/n, Return cancels connectio\)n)\)\s-*\)\'" from remote shell 15:39:11.200622 tramp-process-one-action (5) # Looking for regexp "\(\(TERM = (.*)\|Terminal type\? \[.*\]\)\s-*\)\'" from remote shell 15:39:11.200717 tramp-process-one-action (5) # Looking for regexp "\(\)\'" from remote shell 15:39:11.200812 tramp-process-one-action (5) # Call `tramp-action-process-alive' 15:39:11.815290 tramp-process-one-action (5) # Looking for regexp "\(.*ogin\( .*\)?: *\)\'" from remote shell 15:39:11.816208 tramp-process-one-action (5) # Looking for regexp "\(^.*\([pP]assword\|[pP]assphrase\).*:? *\)\'" from remote shell 15:39:11.816662 tramp-process-one-action (5) # Call `tramp-action-password' 15:39:11.817015 tramp-action-password (3) # Sending password 15:39:16.631170 tramp-process-one-action (5) # Looking for regexp "\(^.*\(Connection \(?:\(?:clo\|refu\)sed\)\|Host key verification failed\.\|Login \(?:[Ii]ncorrect\)\|N\(?:ame or service not known\|o supported authentication methods left to try!\)\|Permission denied\|\(?:Sorry, try again\|Timeout, server not responding\)\.\).*\|^.*\(Received signal [0-9]+\).*\)\'" from remote shell 15:39:16.631761 tramp-process-one-action (5) # Looking for regexp "\(^[^#$%> ]*[#$%>] *\)\'" from remote shell 15:39:16.632120 tramp-process-one-action (5) # Looking for regexp "\(\(?:^\|\)[^]#$%> ]*#?[]#$%>] *\(\[[0-9;]*[a-zA-Z] *\)*\)\'" from remote shell 15:39:16.632463 tramp-process-one-action (5) # Looking for regexp "\(\(Are you sure you want to continue connecting (yes/no)\?\)\s-*\)\'" from remote shell 15:39:16.632811 tramp-process-one-action (5) # Looking for regexp "\(\(\(?:Store key in cache\? (y/\|Update cached key\? (y/n, Return cancels connectio\)n)\)\s-*\)\'" from remote shell 15:39:16.633147 tramp-process-one-action (5) # Looking for regexp "\(\(TERM = (.*)\|Terminal type\? \[.*\]\)\s-*\)\'" from remote shell 15:39:16.633462 tramp-process-one-action (5) # Looking for regexp "\(\)\'" from remote shell 15:39:16.633774 tramp-process-one-action (5) # Call `tramp-action-process-alive' 15:39:16.634224 tramp-process-one-action (5) # Looking for regexp "\(.*ogin\( .*\)?: *\)\'" from remote shell 15:39:16.634554 tramp-process-one-action (5) # Looking for regexp "\(^.*\([pP]assword\|[pP]assphrase\).*:? *\)\'" from remote shell 15:39:16.634900 tramp-process-one-action (5) # Looking for regexp "\(^.*\(Connection \(?:\(?:clo\|refu\)sed\)\|Host key verification failed\.\|Login \(?:[Ii]ncorrect\)\|N\(?:ame or service not known\|o supported authentication methods left to try!\)\|Permission denied\|\(?:Sorry, try again\|Timeout, server not responding\)\.\).*\|^.*\(Received signal [0-9]+\).*\)\'" from remote shell 15:39:16.635238 tramp-process-one-action (5) # Looking for regexp "\(^[^#$%> ]*[#$%>] *\)\'" from remote shell 15:39:16.635543 tramp-process-one-action (5) # Looking for regexp "\(\(?:^\|\)[^]#$%> ]*#?[]#$%>] *\(\[[0-9;]*[a-zA-Z] *\)*\)\'" from remote shell 15:39:16.635964 tramp-process-one-action (5) # Looking for regexp "\(\(Are you sure you want to continue connecting (yes/no)\?\)\s-*\)\'" from remote shell 15:39:16.636292 tramp-process-one-action (5) # Looking for regexp "\(\(\(?:Store key in cache\? (y/\|Update cached key\? (y/n, Return cancels connectio\)n)\)\s-*\)\'" from remote shell 15:39:16.636602 tramp-process-one-action (5) # Looking for regexp "\(\(TERM = (.*)\|Terminal type\? \[.*\]\)\s-*\)\'" from remote shell 15:39:16.636908 tramp-process-one-action (5) # Looking for regexp "\(\)\'" from remote shell 15:39:16.637209 tramp-process-one-action (5) # Call `tramp-action-process-alive' 15:39:17.638886 tramp-process-one-action (5) # Looking for regexp "\(.*ogin\( .*\)?: *\)\'" from remote shell 15:39:17.639485 tramp-process-one-action (5) # Looking for regexp "\(^.*\([pP]assword\|[pP]assphrase\).*:? *\)\'" from remote shell 15:39:17.640093 tramp-process-one-action (5) # Looking for regexp "\(^.*\(Connection \(?:\(?:clo\|refu\)sed\)\|Host key verification failed\.\|Login \(?:[Ii]ncorrect\)\|N\(?:ame or service not known\|o supported authentication methods left to try!\)\|Permission denied\|\(?:Sorry, try again\|Timeout, server not responding\)\.\).*\|^.*\(Received signal [0-9]+\).*\)\'" from remote shell 15:39:17.640614 tramp-process-one-action (5) # Looking for regexp "\(^[^#$%> ]*[#$%>] *\)\'" from remote shell 15:39:17.641025 tramp-process-one-action (5) # Looking for regexp "\(\(?:^\|\)[^]#$%> ]*#?[]#$%>] *\(\[[0-9;]*[a-zA-Z] *\)*\)\'" from remote shell 15:39:17.641356 tramp-process-one-action (5) # Looking for regexp "\(\(Are you sure you want to continue connecting (yes/no)\?\)\s-*\)\'" from remote shell 15:39:17.641676 tramp-process-one-action (5) # Looking for regexp "\(\(\(?:Store key in cache\? (y/\|Update cached key\? (y/n, Return cancels connectio\)n)\)\s-*\)\'" from remote shell 15:39:17.641987 tramp-process-one-action (5) # Looking for regexp "\(\(TERM = (.*)\|Terminal type\? \[.*\]\)\s-*\)\'" from remote shell 15:39:17.642295 tramp-process-one-action (5) # Looking for regexp "\(\)\'" from remote shell 15:39:17.642594 tramp-process-one-action (5) # Call `tramp-action-process-alive' 15:39:18.073668 tramp-process-one-action (5) # Looking for regexp "\(.*ogin\( .*\)?: *\)\'" from remote shell 15:39:18.074271 tramp-process-one-action (5) # Looking for regexp "\(^.*\([pP]assword\|[pP]assphrase\).*:? *\)\'" from remote shell 15:39:18.074818 tramp-process-one-action (5) # Looking for regexp "\(^.*\(Connection \(?:\(?:clo\|refu\)sed\)\|Host key verification failed\.\|Login \(?:[Ii]ncorrect\)\|N\(?:ame or service not known\|o supported authentication methods left to try!\)\|Permission denied\|\(?:Sorry, try again\|Timeout, server not responding\)\.\).*\|^.*\(Received signal [0-9]+\).*\)\'" from remote shell 15:39:18.075209 tramp-process-one-action (5) # Looking for regexp "\(^[^#$%> ]*[#$%>] *\)\'" from remote shell 15:39:18.075526 tramp-process-one-action (5) # Call `tramp-action-succeed' 15:39:18.076023 tramp-process-actions (6) # Welcome to DropBear SSH Server II! thierry@192.168.0.24's password: Permission denied, please try again. thierry@192.168.0.24's password: -sh-3.2# 15:39:18.076413 tramp-maybe-open-connection (3) # Found remote shell prompt on `192.168.0.24' 15:39:18.076751 tramp-open-shell (5) # Opening remote shell `/system/bin/sh'... 15:39:18.077213 tramp-send-command (6) # exec env ENV='' PROMPT_COMMAND='' PS1=\#\$\ PS2='' PS3='' /system/bin/sh 15:39:18.467061 tramp-wait-for-regexp (6) # #$ 15:39:18.468107 tramp-send-command (6) # PS1=\#\$\ 15:39:18.859991 tramp-wait-for-regexp (6) # #$ 15:39:18.860478 tramp-send-command (6) # PS2='' 15:39:19.252761 tramp-wait-for-regexp (6) # #$ 15:39:19.253238 tramp-send-command (6) # PS3='' 15:39:19.646449 tramp-wait-for-regexp (6) # #$ 15:39:19.647140 tramp-send-command (6) # PROMPT_COMMAND='' 15:39:20.039535 tramp-wait-for-regexp (6) # #$ 15:39:20.040161 tramp-open-shell (5) # Opening remote shell `/system/bin/sh'...done 15:39:20.040675 tramp-open-connection-setup-interactive-shell (5) # Setting up remote shell environment 15:39:20.041115 tramp-send-command (6) # stty -inlcr -echo kill '^U' erase '^H' 15:39:20.402380 tramp-wait-for-regexp (6) # #$ 15:39:20.403084 tramp-send-command (6) # echo foo 15:39:20.825731 tramp-wait-for-regexp (6) # foo #$ 15:39:20.826131 tramp-open-connection-setup-interactive-shell (5) # Setting shell prompt 15:39:20.826652 tramp-send-command (6) # PS1=///cd75dd09133d48f3a1970966969c4c9a\#\$ 15:39:21.219358 tramp-wait-for-regexp (6) # ///cd75dd09133d48f3a1970966969c4c9a#$ 15:39:21.220409 tramp-send-command (6) # PS2='' 15:39:21.612606 tramp-wait-for-regexp (6) # ///cd75dd09133d48f3a1970966969c4c9a#$ 15:39:21.613468 tramp-send-command (6) # PS3='' 15:39:22.005842 tramp-wait-for-regexp (6) # ///cd75dd09133d48f3a1970966969c4c9a#$ 15:39:22.006660 tramp-send-command (6) # PROMPT_COMMAND='' 15:39:22.399286 tramp-wait-for-regexp (6) # ///cd75dd09133d48f3a1970966969c4c9a#$ 15:39:22.400220 tramp-open-connection-setup-interactive-shell (5) # Determining coding system 15:39:22.400778 tramp-send-command (6) # echo foo ; echo bar 15:39:22.792322 tramp-wait-for-regexp (6) # foo bar ///cd75dd09133d48f3a1970966969c4c9a#$ 15:39:22.793199 tramp-open-connection-setup-interactive-shell (5) # Setting coding system to `utf-8-unix' and `utf-8-unix' 15:39:22.793670 tramp-send-command (6) # set +o vi +o emacs 15:39:23.185272 tramp-wait-for-regexp (6) # ///cd75dd09133d48f3a1970966969c4c9a#$ 15:39:23.186003 tramp-open-connection-setup-interactive-shell (5) # Checking system information 15:39:23.186835 tramp-send-command (6) # echo \"`uname -sr`\" 2>/dev/null; echo tramp_exit_status $? 15:39:23.578908 tramp-wait-for-regexp (6) # "Linux 2.6.35.7-perf+" tramp_exit_status 0 ///cd75dd09133d48f3a1970966969c4c9a#$ 15:39:23.580072 tramp-open-connection-setup-interactive-shell (5) # Checking remote host type for `send-process-string' bug 15:39:23.580444 tramp-set-remote-path (5) # Setting $PATH environment variable 15:39:23.581118 tramp-send-command (6) # echo \"`getconf PATH 2>/dev/null`\" 2>/dev/null; echo tramp_exit_status $? 15:39:23.972302 tramp-wait-for-regexp (6) # "" tramp_exit_status 0 ///cd75dd09133d48f3a1970966969c4c9a#$ 15:39:23.973720 tramp-send-command (6) # echo \"$PATH\" 2>/dev/null; echo tramp_exit_status $? 15:39:24.365757 tramp-wait-for-regexp (6) # "/sbin:/system/sbin:/system/bin:/system/xbin" tramp_exit_status 0 ///cd75dd09133d48f3a1970966969c4c9a#$ 15:39:24.368434 tramp-send-command (6) # test -d /sbin 2>/dev/null; echo tramp_exit_status $? 15:39:24.954681 tramp-wait-for-regexp (6) # tramp_exit_status 0 ///cd75dd09133d48f3a1970966969c4c9a#$ 15:39:24.957946 tramp-send-command (6) # test -d /system/sbin 2>/dev/null; echo tramp_exit_status $? 15:39:25.544797 tramp-wait-for-regexp (6) # tramp_exit_status 1 ///cd75dd09133d48f3a1970966969c4c9a#$ 15:39:25.547600 tramp-send-command (6) # test -d /system/bin 2>/dev/null; echo tramp_exit_status $? 15:39:26.134353 tramp-wait-for-regexp (6) # tramp_exit_status 0 ///cd75dd09133d48f3a1970966969c4c9a#$ 15:39:26.137374 tramp-send-command (6) # test -d /system/xbin 2>/dev/null; echo tramp_exit_status $? 15:39:26.724237 tramp-wait-for-regexp (6) # tramp_exit_status 0 ///cd75dd09133d48f3a1970966969c4c9a#$ 15:39:26.726817 tramp-send-command (6) # test -d /bin 2>/dev/null; echo tramp_exit_status $? 15:39:27.313996 tramp-wait-for-regexp (6) # tramp_exit_status 1 ///cd75dd09133d48f3a1970966969c4c9a#$ 15:39:27.316787 tramp-send-command (6) # test -d /usr/bin 2>/dev/null; echo tramp_exit_status $? 15:39:27.904096 tramp-wait-for-regexp (6) # tramp_exit_status 1 ///cd75dd09133d48f3a1970966969c4c9a#$ 15:39:27.906949 tramp-send-command (6) # test -d /usr/sbin 2>/dev/null; echo tramp_exit_status $? 15:39:31.541601 tramp-wait-for-regexp (6) # tramp_exit_status 1 ///cd75dd09133d48f3a1970966969c4c9a#$ 15:39:31.544361 tramp-send-command (6) # test -d /usr/local/bin 2>/dev/null; echo tramp_exit_status $? 15:39:32.032989 tramp-wait-for-regexp (6) # tramp_exit_status 1 ///cd75dd09133d48f3a1970966969c4c9a#$ 15:39:32.035848 tramp-send-command (6) # test -d /usr/local/sbin 2>/dev/null; echo tramp_exit_status $? 15:39:32.622452 tramp-wait-for-regexp (6) # tramp_exit_status 1 ///cd75dd09133d48f3a1970966969c4c9a#$ 15:39:32.625324 tramp-send-command (6) # test -d /local/bin 2>/dev/null; echo tramp_exit_status $? 15:39:33.212339 tramp-wait-for-regexp (6) # tramp_exit_status 1 ///cd75dd09133d48f3a1970966969c4c9a#$ 15:39:33.215032 tramp-send-command (6) # test -d /local/freeware/bin 2>/dev/null; echo tramp_exit_status $? 15:39:33.802155 tramp-wait-for-regexp (6) # tramp_exit_status 1 ///cd75dd09133d48f3a1970966969c4c9a#$ 15:39:33.804570 tramp-send-command (6) # test -d /local/gnu/bin 2>/dev/null; echo tramp_exit_status $? 15:39:34.392083 tramp-wait-for-regexp (6) # tramp_exit_status 1 ///cd75dd09133d48f3a1970966969c4c9a#$ 15:39:34.394872 tramp-send-command (6) # test -d /usr/freeware/bin 2>/dev/null; echo tramp_exit_status $? 15:39:34.981919 tramp-wait-for-regexp (6) # tramp_exit_status 1 ///cd75dd09133d48f3a1970966969c4c9a#$ 15:39:34.984822 tramp-send-command (6) # test -d /usr/pkg/bin 2>/dev/null; echo tramp_exit_status $? 15:39:35.571500 tramp-wait-for-regexp (6) # tramp_exit_status 1 ///cd75dd09133d48f3a1970966969c4c9a#$ 15:39:35.574379 tramp-send-command (6) # test -d /usr/contrib/bin 2>/dev/null; echo tramp_exit_status $? 15:39:36.161336 tramp-wait-for-regexp (6) # tramp_exit_status 1 ///cd75dd09133d48f3a1970966969c4c9a#$ 15:39:36.163760 tramp-send-command (6) # test -d /opt/bin 2>/dev/null; echo tramp_exit_status $? 15:39:36.751217 tramp-wait-for-regexp (6) # tramp_exit_status 1 ///cd75dd09133d48f3a1970966969c4c9a#$ 15:39:36.754050 tramp-send-command (6) # test -d /opt/sbin 2>/dev/null; echo tramp_exit_status $? 15:39:37.341077 tramp-wait-for-regexp (6) # tramp_exit_status 1 ///cd75dd09133d48f3a1970966969c4c9a#$ 15:39:37.343380 tramp-send-command (6) # test -d /opt/local/bin 2>/dev/null; echo tramp_exit_status $? 15:39:37.930966 tramp-wait-for-regexp (6) # tramp_exit_status 1 ///cd75dd09133d48f3a1970966969c4c9a#$ 15:39:37.932531 tramp-send-command (6) # PATH=/sbin:/system/bin:/system/xbin; export PATH 15:39:38.323930 tramp-wait-for-regexp (6) # ///cd75dd09133d48f3a1970966969c4c9a#$ 15:39:38.324703 tramp-send-command (6) # mesg n; biff n 15:39:38.717657 tramp-wait-for-regexp (6) # sh: biff: command not found ///cd75dd09133d48f3a1970966969c4c9a#$ 15:39:38.718875 tramp-send-command (6) # echo \"`tty`\" 2>/dev/null; echo tramp_exit_status $? 15:39:39.110592 tramp-wait-for-regexp (6) # sh: tty: command not found "" tramp_exit_status 0 ///cd75dd09133d48f3a1970966969c4c9a#$ 15:39:39.111769 tramp-open-connection-setup-interactive-shell (5) # Setting default environment 15:39:39.112426 tramp-send-command (6) # TMPDIR=$HOME/tmp; export TMPDIR 15:39:39.504046 tramp-wait-for-regexp (6) # ///cd75dd09133d48f3a1970966969c4c9a#$ 15:39:39.504983 tramp-send-command (6) # HISTFILE=$HOME/.tramp_history; export HISTFILE 15:39:39.897396 tramp-wait-for-regexp (6) # ///cd75dd09133d48f3a1970966969c4c9a#$ 15:39:39.898294 tramp-send-command (6) # HISTSIZE=1; export HISTSIZE 15:39:40.290319 tramp-wait-for-regexp (6) # ///cd75dd09133d48f3a1970966969c4c9a#$ 15:39:40.291292 tramp-send-command (6) # LC_ALL=C; export LC_ALL 15:39:40.683606 tramp-wait-for-regexp (6) # ///cd75dd09133d48f3a1970966969c4c9a#$ 15:39:40.684682 tramp-send-command (6) # TERM=dumb; export TERM 15:39:41.076735 tramp-wait-for-regexp (6) # ///cd75dd09133d48f3a1970966969c4c9a#$ 15:39:41.077661 tramp-send-command (6) # EMACS=t; export EMACS 15:39:41.469950 tramp-wait-for-regexp (6) # ///cd75dd09133d48f3a1970966969c4c9a#$ 15:39:41.470879 tramp-send-command (6) # INSIDE_EMACS='24.3.50.1,tramp:2.2.7-pre'; export INSIDE_EMACS 15:39:41.863375 tramp-wait-for-regexp (6) # ///cd75dd09133d48f3a1970966969c4c9a#$ 15:39:41.864529 tramp-send-command (6) # PAGER=""; export PAGER 15:39:42.256584 tramp-wait-for-regexp (6) # ///cd75dd09133d48f3a1970966969c4c9a#$ 15:39:42.257286 tramp-send-command (6) # unset correct autocorrect MAILPATH MAILCHECK MAIL HISTORY CDPATH 15:39:42.649572 tramp-wait-for-regexp (6) # ///cd75dd09133d48f3a1970966969c4c9a#$ 15:39:42.650369 tramp-maybe-open-connection (3) # Opening connection for 192.168.0.24#2222 using ssh...done 15:39:42.650989 tramp-send-command (6) # test -d /data/local 2>/dev/null; echo tramp_exit_status $? 15:39:43.042515 tramp-wait-for-regexp (6) # tramp_exit_status 0 ///cd75dd09133d48f3a1970966969c4c9a#$ 15:39:43.050703 tramp-send-command (6) # test -e /data/local 2>/dev/null; echo tramp_exit_status $? 15:39:43.632990 tramp-wait-for-regexp (6) # tramp_exit_status 0 ///cd75dd09133d48f3a1970966969c4c9a#$ 15:39:43.635916 tramp-do-file-attributes-with-ls (5) # file attributes with ls: /data/local 15:39:43.636450 tramp-get-ls-command (5) # Finding a suitable `ls' command 15:39:43.637214 tramp-send-command (6) # (PS1= ; while read d; do if test -x $d/ls -a -f $d/ls; then echo tramp_executable $d/ls; break; fi; done <<'EOF' /sbin /system/bin /system/xbin EOF ) 15:39:44.222747 tramp-wait-for-regexp (6) # tramp_executable /system/xbin/ls ///cd75dd09133d48f3a1970966969c4c9a#$ 15:39:44.223980 tramp-send-command (6) # /system/xbin/ls -lnd / 2>/dev/null; echo tramp_exit_status $? 15:39:44.615982 tramp-wait-for-regexp (6) # drwxr-xr-x 14 0 0 0 Feb 16 21:57 [1;34m/[0m tramp_exit_status 0 ///cd75dd09133d48f3a1970966969c4c9a#$ 15:39:44.617252 tramp-send-command (6) # /system/xbin/ls --color=never -al /dev/null 2>/dev/null; echo tramp_exit_status $? 15:39:45.008828 tramp-wait-for-regexp (6) # crw-rw-rw- 1 0 0 1, 3 Feb 16 21:57 /dev/null tramp_exit_status 0 ///cd75dd09133d48f3a1970966969c4c9a#$ 15:39:45.010250 tramp-send-command (6) # (test -e /data/local || test -h /data/local) && /system/xbin/ls --color=never -ildn /data/local 15:39:45.401840 tramp-wait-for-regexp (6) # 273 drwxr-xr-x 1 2000 2000 2048 Feb 18 14:39 /data/local ///cd75dd09133d48f3a1970966969c4c9a#$ 15:39:45.402814 tramp-get-remote-id (5) # Finding POSIX `id' command 15:39:45.403713 tramp-send-command (6) # (PS1= ; while read d; do if test -x $d/id -a -f $d/id; then echo tramp_executable $d/id; break; fi; done <<'EOF' /sbin /system/bin /system/xbin EOF ) 15:39:45.795762 tramp-wait-for-regexp (6) # tramp_executable /system/bin/id ///cd75dd09133d48f3a1970966969c4c9a#$ 15:39:45.796639 tramp-send-command (6) # /system/bin/id -u 2>/dev/null; echo tramp_exit_status $? 15:39:46.188531 tramp-wait-for-regexp (6) # uid=0(root) gid=0(root) groups=0(root) tramp_exit_status 0 ///cd75dd09133d48f3a1970966969c4c9a#$ 15:39:46.189500 tramp-send-command (6) # /system/bin/id -g 2>/dev/null; echo tramp_exit_status $? 15:39:46.778728 tramp-wait-for-regexp (6) # uid=0(root) gid=0(root) groups=0(root) tramp_exit_status 0 ///cd75dd09133d48f3a1970966969c4c9a#$ 15:39:46.779790 tramp-send-command-and-read (1) # File error: `/system/bin/id -g ' does not return a valid Lisp expression: `uid=0(root) gid=0(root) groups=0(root) '--8<---------------cut here---------------end--------------->8--- I will send you a trace from emacs -Q soon, but looks like errors are the same. > Which ssh implementation do you recommend for Android? I don't know, I am not android specialist, I have installed DropBearServer2: https://play.google.com/store/apps/details?id=me.shkschneider.dropbearserver2&hl=en It is working fine and is not full of ads like sshdroid. > I do not want to recommend something which is not acceptable. > > Best regards, Michael. -- Thierry Get my Gnupg key: gpg --keyserver pgp.mit.edu --recv-keys 59F29997