Subject: bug#25050: closed (Re: bug#25050: 25.1; Tramp: Trying to connect to an Android device)

From: [email-masked] (GNU bug Tracking System)
Date: Fri, 07 Sep 2018 11:32:02 +0000

Your bug report

#25050: 25.1; Tramp: Trying to connect to an Android device

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
25050: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=25050
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#25050: 25.1; Tramp: Trying to connect to an Android device
From: Michael Albinus <[email-masked]>
To: Arash <[email-masked]>
Cc: [email-masked]
Date: Fri, 07 Sep 2018 13:31:17 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Michael Albinus <[email-masked]> writes:

Hi Arash,

>> I'm trying to connect to my Android device which runs SSHelper as ssh
>> daemon but tramp hangs on "Tramp: Found remote shell prompt on
>> ‘192.168.2.22’".
>> I also followed the guide
>> (https://www.gnu.org/software/emacs/manual/html_node/tramp/Android-shell-setup.html)
>> but it isn't working.
>
> Thanks for the report. Let's see what's up:
>
>> 14:31:08.801416 tramp-send-command (6) # exec ssh -l u0_a82 -o
>> ControlMaster=auto -o ControlPath='tramp.%C' -o ControlPersist=no -e
>> none 192.168.2.22
>> 14:31:09.137629 tramp-process-actions (6) #
>> SSHelper Version 8.5 Copyright 2014, P. Lutus
>> Odroid-c2:3.14.29
>> u0_a82@odroidc2:/data/data/com.arachnoid.sshelper/home $
>
> That's good. Tramp is able to connect your Android device via ssh.
>
>> 14:31:09.138347 tramp-send-command (6) # exec env ENV='' HISTFILE=.tramp_history PROMPT_COMMAND='' PS1=\#\$\  PS2='' PS3='' sh
>
> Now Tramp tries to open a local shell. It also tries to set the prompt
> to "#$ ".
>
>> 14:31:19.184572 tramp-accept-process-output (10) # *tramp/ssh [email-masked]* run *tramp/ssh [email-masked]*
>> exec env ENV='' HISTF.xec env ENV='' HISTF
>> <^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^HILE=.tramp_history
>> PROMPT_COMMAND='' PS1=\#\$\ PS2='' PS3.tramp_history PROMPT_COMMAND=''
>> PS1=\#\$\ PS2='' PS3
>> <^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H='' sh .
>> u0_a82@odroidc2:/data/data/com.arachnoid.sshelper/home $
>
> This fails badly, as we see :-(
>
> For readability, I've replaced the character C-h (code 8) by ^H.
>
> Do you see a chance to use another shell but "sh" on your Android
> device? And alternatively, would Tramp's "adb" method an option for you?

No reaction for months, I'm closing this bug as wontfix. Feel free to
reply if you want to continue to investgate.

Best regards, Michael.

Subject: 25.1; Tramp: Trying to connect to an Android device
From: Arash <[email-masked]>
To: [email-masked]
Date: Mon, 28 Nov 2016 14:46:58 +0330
List-Id: <debbugs-submit.debbugs.gnu.org>

I'm trying to connect to my Android device which runs SSHelper as ssh
daemon but tramp hangs on "Tramp: Found remote shell prompt on
‘192.168.2.22’".
I also followed the guide
(https://www.gnu.org/software/emacs/manual/html_node/tramp/Android-shell-setup.html)
but it isn't working.

------

;; GNU Emacs: 25.1.1 Tramp: 2.2.13.25.1 -*- mode: outline; -*-
;; Location: /usr/share/emacs/25.1/lisp/net/tramp.elc Git: nil
14:31:08.792710 tramp-set-connection-property (7) # remote-shell sh
14:31:08.792765 tramp-get-file-property (8) # / file-directory-p undef
14:31:08.792837 tramp-get-connection-property (7) # test undef
14:31:08.792878 tramp-get-test-command (5) # Finding a suitable ‘test’ command
14:31:08.792928 tramp-get-connection-property (7) # process-name nil
14:31:08.792971 tramp-get-connection-property (7) # process-name nil
14:31:08.793015 tramp-get-connection-property (7) # process-buffer nil
14:31:08.793156 tramp-maybe-open-connection (3) # Opening connection for [email-masked] using ssh...
14:31:08.794678 tramp-get-local-locale (7) # locale en_US.utf8
14:31:08.794776 tramp-get-connection-property (7) # login-args undef
14:31:08.794828 tramp-get-connection-property (7) # login-args undef
14:31:08.794896 tramp-call-process (6) # ‘ssh -o ControlMaster’ nil  *temp*
14:31:08.795779 tramp-call-process (6) # 255
command-line line 0: missing argument..
14:31:08.795855 tramp-call-process (6) # ‘ssh -o ControlPath=%C 0.0.0.1’ nil  *temp*
14:31:08.797739 tramp-call-process (6) # 255
Pseudo-terminal will not be allocated because stdin is not a terminal..
ssh: connect to host 0.0.0.1 port 22: Invalid argument.
14:31:08.797813 tramp-call-process (6) # ‘ssh -o ControlPersist’ nil  *temp*
14:31:08.798714 tramp-call-process (6) # 255
command-line line 0: Missing ControlPersist argument..
14:31:08.798800 tramp-get-connection-property (7) # process-name nil
14:31:08.798854 tramp-get-connection-property (7) # process-buffer nil
14:31:08.799164 tramp-set-connection-property (7) # vector [ssh u0_a82 192.168.2.22 / nil]
14:31:08.799233 tramp-maybe-open-connection (6) # /bin/sh -i
14:31:08.799280 tramp-get-connection-property (7) # vector [ssh u0_a82 192.168.2.22 / nil]
14:31:08.799330 tramp-get-connection-property (7) # check-remote-echo nil
14:31:08.799372 tramp-get-connection-property (7) # check-remote-echo nil
14:31:08.799433 tramp-get-connection-property (7) # gateway nil
14:31:08.800139 tramp-accept-process-output (10) # *tramp/ssh [email-masked]* run *tramp/ssh [email-masked]*
#$ 
14:31:08.800204 tramp-get-connection-property (7) # check-remote-echo nil
14:31:08.800246 tramp-get-connection-property (7) # check-remote-echo nil
14:31:08.800297 tramp-wait-for-regexp (6) # 
#$ 
14:31:08.800385 tramp-get-connection-property (7) # login-program undef
14:31:08.800438 tramp-get-connection-property (7) # login-args undef
14:31:08.800489 tramp-get-connection-property (7) # login-env undef
14:31:08.800539 tramp-get-connection-property (7) # async-args undef
14:31:08.800586 tramp-get-connection-property (7) # connection-timeout undef
14:31:08.800632 tramp-get-connection-property (7) # gw-args undef
14:31:08.800702 tramp-get-connection-property (7) # temp-file undef
14:31:08.800791 tramp-set-connection-property (7) # temp-file /tmp/tramp.13492NwV
14:31:08.801248 tramp-maybe-open-connection (3) # Sending command ‘exec ssh -l u0_a82  -o ControlMaster=auto -o ControlPath='tramp.%C' -o ControlPersist=no -e none 192.168.2.22’
14:31:08.801322 tramp-get-connection-property (7) # process-name nil
14:31:08.801373 tramp-get-connection-property (7) # remote-echo nil
14:31:08.801416 tramp-send-command (6) # exec ssh -l u0_a82  -o ControlMaster=auto -o ControlPath='tramp.%C' -o ControlPersist=no -e none 192.168.2.22
14:31:08.801461 tramp-get-connection-property (7) # process-name nil
14:31:08.801508 tramp-get-connection-property (7) # chunksize nil
14:31:08.801552 tramp-set-connection-property (7) # last-cmd-time (22588 3700 801537 90000)
14:31:08.801600 tramp-send-string (10) # exec ssh -l u0_a82  -o ControlMaster=auto -o ControlPath='tramp.%C' -o ControlPersist=no -e none 192.168.2.22
14:31:08.801646 tramp-get-connection-property (7) # process-buffer nil
14:31:08.801749 tramp-set-connection-property (7) # first-password-request t
14:31:08.801886 tramp-process-actions (3) # Waiting for prompts from remote shell...
14:31:08.802007 tramp-get-connection-property (7) # gateway nil
14:31:09.043098 tramp-accept-process-output (10) # *tramp/ssh [email-masked]* run *tramp/ssh [email-masked]*
SSHelper Version 8.5 Copyright 2014, P. Lutus
14:31:09.043181 tramp-process-one-action (5) # Looking for regexp "\(.*\(user\|login\)\( .*\)?: *\)\'" from remote shell
14:31:09.043225 tramp-get-connection-property (7) # check-remote-echo nil
14:31:09.043266 tramp-get-connection-property (7) # check-remote-echo nil
14:31:09.043367 tramp-process-one-action (5) # Looking for regexp "\(^.*\(\(?:adgangskode\|contrase\(?:\(?:ny\|ñ\)a\)\|geslo\|h\(?:\(?:asł\|esl\)o\)\|iphasiwedi\|jelszó\|l\(?:ozinka\|ösenord\)\|m\(?:ot de passe\|ật khẩu\)\|pa\(?:rola\|s\(?:ahitza\|s\(?: phrase\|code\|ord\|phrase\|wor[dt]\)\|vorto\)\)\|s\(?:alasana\|enha\|laptažodis\)\|wachtwoord\|лозинка\|пароль\|ססמה\|كلمة السر\|गुप्तशब्द\|शब्दकूट\|গুপ্তশব্দ\|পাসওয়ার্ড\|ਪਾਸਵਰਡ\|પાસવર્ડ\|ପ୍ରବେଶ ସଙ୍କେତ\|கடவுச்சொல்\|సంకేతపదము\|ಗುಪ್ತಪದ\|അടയാളവാക്ക്\|රහස්පදය\|ពាក្យសម្ងាត់\|パスワード\|密[码碼]\|암호\)\).*:.? *\)\'" from remote shell
14:31:09.043419 tramp-get-connection-property (7) # check-remote-echo nil
14:31:09.043456 tramp-get-connection-property (7) # check-remote-echo nil
14:31:09.043531 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
14:31:09.043576 tramp-get-connection-property (7) # check-remote-echo nil
14:31:09.043614 tramp-get-connection-property (7) # check-remote-echo nil
14:31:09.043673 tramp-process-one-action (5) # Looking for regexp "\(^[^#$%>
]*[#$%>] *\)\'" from remote shell
14:31:09.043712 tramp-get-connection-property (7) # check-remote-echo nil
14:31:09.043749 tramp-get-connection-property (7) # check-remote-echo nil
14:31:09.043797 tramp-process-one-action (5) # Looking for regexp "\(\(?:^\|.\)[^]#$%>
]*#?[]#$%>].* *\(^[\[[0-9;]*[a-zA-Z] *\)*\)\'" from remote shell
14:31:09.043838 tramp-get-connection-property (7) # check-remote-echo nil
14:31:09.043876 tramp-get-connection-property (7) # check-remote-echo nil
14:31:09.043925 tramp-process-one-action (5) # Looking for regexp "\(\(Are you sure you want to continue connecting (yes/no)\?\)\s-*\)\'" from remote shell
14:31:09.043964 tramp-get-connection-property (7) # check-remote-echo nil
14:31:09.044004 tramp-get-connection-property (7) # check-remote-echo nil
14:31:09.044115 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
14:31:09.044154 tramp-get-connection-property (7) # check-remote-echo nil
14:31:09.044220 tramp-get-connection-property (7) # check-remote-echo nil
14:31:09.044283 tramp-process-one-action (5) # Looking for regexp "\(\(TERM = (.*)\|Terminal type\? \[.*\]\)\s-*\)\'" from remote shell
14:31:09.044325 tramp-get-connection-property (7) # check-remote-echo nil
14:31:09.044363 tramp-get-connection-property (7) # check-remote-echo nil
14:31:09.044407 tramp-process-one-action (5) # Looking for regexp "\(\)\'" from remote shell
14:31:09.044446 tramp-get-connection-property (7) # check-remote-echo nil
14:31:09.044483 tramp-get-connection-property (7) # check-remote-echo nil
14:31:09.044529 tramp-process-one-action (5) # Call ‘tramp-action-process-alive’
14:31:09.044569 tramp-get-connection-property (7) # gateway nil
14:31:09.136734 tramp-accept-process-output (10) # *tramp/ssh [email-masked]* run *tramp/ssh [email-masked]*
SSHelper Version 8.5 Copyright 2014, P. Lutus
Odroid-c2:3.14.29
u0_a82@odroidc2:/data/data/com.arachnoid.sshelper/home $ 
14:31:09.136812 tramp-process-one-action (5) # Looking for regexp "\(.*\(user\|login\)\( .*\)?: *\)\'" from remote shell
14:31:09.136860 tramp-get-connection-property (7) # check-remote-echo nil
14:31:09.136901 tramp-get-connection-property (7) # check-remote-echo nil
14:31:09.137066 tramp-process-one-action (5) # Looking for regexp "\(^.*\(\(?:adgangskode\|contrase\(?:\(?:ny\|ñ\)a\)\|geslo\|h\(?:\(?:asł\|esl\)o\)\|iphasiwedi\|jelszó\|l\(?:ozinka\|ösenord\)\|m\(?:ot de passe\|ật khẩu\)\|pa\(?:rola\|s\(?:ahitza\|s\(?: phrase\|code\|ord\|phrase\|wor[dt]\)\|vorto\)\)\|s\(?:alasana\|enha\|laptažodis\)\|wachtwoord\|лозинка\|пароль\|ססמה\|كلمة السر\|गुप्तशब्द\|शब्दकूट\|গুপ্তশব্দ\|পাসওয়ার্ড\|ਪਾਸਵਰਡ\|પાસવર્ડ\|ପ୍ରବେଶ ସଙ୍କେତ\|கடவுச்சொல்\|సంకేతపదము\|ಗುಪ್ತಪದ\|അടയാളവാക്ക്\|රහස්පදය\|ពាក្យសម្ងាត់\|パスワード\|密[码碼]\|암호\)\).*:.? *\)\'" from remote shell
14:31:09.137119 tramp-get-connection-property (7) # check-remote-echo nil
14:31:09.137158 tramp-get-connection-property (7) # check-remote-echo nil
14:31:09.137251 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
14:31:09.137297 tramp-get-connection-property (7) # check-remote-echo nil
14:31:09.137334 tramp-get-connection-property (7) # check-remote-echo nil
14:31:09.137398 tramp-process-one-action (5) # Looking for regexp "\(^[^#$%>
]*[#$%>] *\)\'" from remote shell
14:31:09.137440 tramp-get-connection-property (7) # check-remote-echo nil
14:31:09.137479 tramp-get-connection-property (7) # check-remote-echo nil
14:31:09.137525 tramp-process-one-action (5) # Call ‘tramp-action-succeed’
14:31:09.137584 tramp-get-connection-property (7) # process-buffer nil
14:31:09.137629 tramp-process-actions (6) # 
SSHelper Version 8.5 Copyright 2014, P. Lutus
Odroid-c2:3.14.29
u0_a82@odroidc2:/data/data/com.arachnoid.sshelper/home $ 
14:31:09.137670 tramp-get-connection-property (7) # process-buffer nil
14:31:09.137807 tramp-process-actions (3) # Waiting for prompts from remote shell...done
14:31:09.137984 tramp-maybe-open-connection (3) # Found remote shell prompt on ‘192.168.2.22’
14:31:09.138050 tramp-get-connection-property (7) # remote-shell sh
14:31:09.138101 tramp-get-connection-property (7) # remote-shell sh
14:31:09.138154 tramp-open-shell (5) # Opening remote shell ‘sh’...
14:31:09.138224 tramp-get-connection-property (7) # process-name nil
14:31:09.138274 tramp-get-connection-property (7) # remote-echo nil
14:31:09.138347 tramp-send-command (6) # exec env ENV='' HISTFILE=.tramp_history PROMPT_COMMAND='' PS1=\#\$\  PS2='' PS3='' sh 
14:31:09.138389 tramp-get-connection-property (7) # process-name nil
14:31:09.138432 tramp-get-connection-property (7) # chunksize nil
14:31:09.138471 tramp-set-connection-property (7) # last-cmd-time (22588 3701 138457 650000)
14:31:09.138516 tramp-send-string (10) # exec env ENV='' HISTFILE=.tramp_history PROMPT_COMMAND='' PS1=\#\$\  PS2='' PS3='' sh 
14:31:09.138559 tramp-get-connection-property (7) # process-buffer nil
14:31:09.138633 tramp-get-connection-property (7) # check-remote-echo nil
14:31:09.138718 tramp-get-connection-property (7) # check-remote-echo nil
14:31:09.138779 tramp-get-connection-property (7) # gateway nil
14:31:09.139933 tramp-accept-process-output (10) # *tramp/ssh [email-masked]* run *tramp/ssh [email-masked]*
e
14:31:09.140049 tramp-get-connection-property (7) # check-remote-echo nil
14:31:09.140090 tramp-get-connection-property (7) # check-remote-echo nil
14:31:09.140135 tramp-get-connection-property (7) # gateway nil
14:31:09.141541 tramp-accept-process-output (10) # *tramp/ssh [email-masked]* run *tramp/ssh [email-masked]*
exec env ENV='' HISTF.xec env ENV='' HISTF                                                          <ILE=.tramp_history PROMPT_COMMAND='' PS1=\#\$\  PS2='' PS3.tramp_history PROMPT_COMMAND='' PS1=\#\$\  PS2='' PS3                         <
14:31:09.141605 tramp-get-connection-property (7) # check-remote-echo nil
14:31:09.141647 tramp-get-connection-property (7) # check-remote-echo nil
14:31:09.141706 tramp-get-connection-property (7) # gateway nil
14:31:09.142297 tramp-accept-process-output (10) # *tramp/ssh [email-masked]* run *tramp/ssh [email-masked]*
exec env ENV='' HISTF.xec env ENV='' HISTF                                                          <ILE=.tramp_history PROMPT_COMMAND='' PS1=\#\$\  PS2='' PS3.tramp_history PROMPT_COMMAND='' PS1=\#\$\  PS2='' PS3                         <='' sh .
14:31:09.142354 tramp-get-connection-property (7) # check-remote-echo nil
14:31:09.142396 tramp-get-connection-property (7) # check-remote-echo nil
14:31:09.142455 tramp-get-connection-property (7) # gateway nil
14:31:09.176696 tramp-accept-process-output (10) # *tramp/ssh [email-masked]* run *tramp/ssh [email-masked]*
exec env ENV='' HISTF.xec env ENV='' HISTF                                                          <ILE=.tramp_history PROMPT_COMMAND='' PS1=\#\$\  PS2='' PS3.tramp_history PROMPT_COMMAND='' PS1=\#\$\  PS2='' PS3                         <='' sh .
u0_a82@odroidc2:/data/data/com.arachnoid.sshelper/home $ 
14:31:09.176770 tramp-get-connection-property (7) # check-remote-echo nil
14:31:09.176812 tramp-get-connection-property (7) # check-remote-echo nil
14:31:09.176877 tramp-get-connection-property (7) # gateway nil
14:31:10.178072 tramp-accept-process-output (10) # *tramp/ssh [email-masked]* run *tramp/ssh [email-masked]*
exec env ENV='' HISTF.xec env ENV='' HISTF                                                          <ILE=.tramp_history PROMPT_COMMAND='' PS1=\#\$\  PS2='' PS3.tramp_history PROMPT_COMMAND='' PS1=\#\$\  PS2='' PS3                         <='' sh .
u0_a82@odroidc2:/data/data/com.arachnoid.sshelper/home $ 
14:31:10.178148 tramp-get-connection-property (7) # check-remote-echo nil
14:31:10.178188 tramp-get-connection-property (7) # check-remote-echo nil
14:31:10.178249 tramp-get-connection-property (7) # gateway nil
14:31:11.179406 tramp-accept-process-output (10) # *tramp/ssh [email-masked]* run *tramp/ssh [email-masked]*
exec env ENV='' HISTF.xec env ENV='' HISTF                                                          <ILE=.tramp_history PROMPT_COMMAND='' PS1=\#\$\  PS2='' PS3.tramp_history PROMPT_COMMAND='' PS1=\#\$\  PS2='' PS3                         <='' sh .
u0_a82@odroidc2:/data/data/com.arachnoid.sshelper/home $ 
14:31:11.179486 tramp-get-connection-property (7) # check-remote-echo nil
14:31:11.179532 tramp-get-connection-property (7) # check-remote-echo nil
14:31:11.179599 tramp-get-connection-property (7) # gateway nil
14:31:12.180533 tramp-accept-process-output (10) # *tramp/ssh [email-masked]* run *tramp/ssh [email-masked]*
exec env ENV='' HISTF.xec env ENV='' HISTF                                                          <ILE=.tramp_history PROMPT_COMMAND='' PS1=\#\$\  PS2='' PS3.tramp_history PROMPT_COMMAND='' PS1=\#\$\  PS2='' PS3                         <='' sh .
u0_a82@odroidc2:/data/data/com.arachnoid.sshelper/home $ 
14:31:12.180611 tramp-get-connection-property (7) # check-remote-echo nil
14:31:12.180655 tramp-get-connection-property (7) # check-remote-echo nil
14:31:12.180717 tramp-get-connection-property (7) # gateway nil
14:31:13.181043 tramp-accept-process-output (10) # *tramp/ssh [email-masked]* run *tramp/ssh [email-masked]*
exec env ENV='' HISTF.xec env ENV='' HISTF                                                          <ILE=.tramp_history PROMPT_COMMAND='' PS1=\#\$\  PS2='' PS3.tramp_history PROMPT_COMMAND='' PS1=\#\$\  PS2='' PS3                         <='' sh .
u0_a82@odroidc2:/data/data/com.arachnoid.sshelper/home $ 
14:31:13.181118 tramp-get-connection-property (7) # check-remote-echo nil
14:31:13.181158 tramp-get-connection-property (7) # check-remote-echo nil
14:31:13.181225 tramp-get-connection-property (7) # gateway nil
14:31:14.181545 tramp-accept-process-output (10) # *tramp/ssh [email-masked]* run *tramp/ssh [email-masked]*
exec env ENV='' HISTF.xec env ENV='' HISTF                                                          <ILE=.tramp_history PROMPT_COMMAND='' PS1=\#\$\  PS2='' PS3.tramp_history PROMPT_COMMAND='' PS1=\#\$\  PS2='' PS3                         <='' sh .
u0_a82@odroidc2:/data/data/com.arachnoid.sshelper/home $ 
14:31:14.181633 tramp-get-connection-property (7) # check-remote-echo nil
14:31:14.181675 tramp-get-connection-property (7) # check-remote-echo nil
14:31:14.181738 tramp-get-connection-property (7) # gateway nil
14:31:15.182096 tramp-accept-process-output (10) # *tramp/ssh [email-masked]* run *tramp/ssh [email-masked]*
exec env ENV='' HISTF.xec env ENV='' HISTF                                                          <ILE=.tramp_history PROMPT_COMMAND='' PS1=\#\$\  PS2='' PS3.tramp_history PROMPT_COMMAND='' PS1=\#\$\  PS2='' PS3                         <='' sh .
u0_a82@odroidc2:/data/data/com.arachnoid.sshelper/home $ 
14:31:15.182215 tramp-get-connection-property (7) # check-remote-echo nil
14:31:15.182256 tramp-get-connection-property (7) # check-remote-echo nil
14:31:15.182347 tramp-get-connection-property (7) # gateway nil
14:31:16.182635 tramp-accept-process-output (10) # *tramp/ssh [email-masked]* run *tramp/ssh [email-masked]*
exec env ENV='' HISTF.xec env ENV='' HISTF                                                          <ILE=.tramp_history PROMPT_COMMAND='' PS1=\#\$\  PS2='' PS3.tramp_history PROMPT_COMMAND='' PS1=\#\$\  PS2='' PS3                         <='' sh .
u0_a82@odroidc2:/data/data/com.arachnoid.sshelper/home $ 
14:31:16.182718 tramp-get-connection-property (7) # check-remote-echo nil
14:31:16.182763 tramp-get-connection-property (7) # check-remote-echo nil
14:31:16.182828 tramp-get-connection-property (7) # gateway nil
14:31:17.183652 tramp-accept-process-output (10) # *tramp/ssh [email-masked]* run *tramp/ssh [email-masked]*
exec env ENV='' HISTF.xec env ENV='' HISTF                                                          <ILE=.tramp_history PROMPT_COMMAND='' PS1=\#\$\  PS2='' PS3.tramp_history PROMPT_COMMAND='' PS1=\#\$\  PS2='' PS3                         <='' sh .
u0_a82@odroidc2:/data/data/com.arachnoid.sshelper/home $ 
14:31:17.183762 tramp-get-connection-property (7) # check-remote-echo nil
14:31:17.183820 tramp-get-connection-property (7) # check-remote-echo nil
14:31:17.183888 tramp-get-connection-property (7) # gateway nil
14:31:18.184205 tramp-accept-process-output (10) # *tramp/ssh [email-masked]* run *tramp/ssh [email-masked]*
exec env ENV='' HISTF.xec env ENV='' HISTF                                                          <ILE=.tramp_history PROMPT_COMMAND='' PS1=\#\$\  PS2='' PS3.tramp_history PROMPT_COMMAND='' PS1=\#\$\  PS2='' PS3                         <='' sh .
u0_a82@odroidc2:/data/data/com.arachnoid.sshelper/home $ 
14:31:18.184283 tramp-get-connection-property (7) # check-remote-echo nil
14:31:18.184326 tramp-get-connection-property (7) # check-remote-echo nil
14:31:18.184391 tramp-get-connection-property (7) # gateway nil
14:31:19.184572 tramp-accept-process-output (10) # *tramp/ssh [email-masked]* run *tramp/ssh [email-masked]*
exec env ENV='' HISTF.xec env ENV='' HISTF                                                          <ILE=.tramp_history PROMPT_COMMAND='' PS1=\#\$\  PS2='' PS3.tramp_history PROMPT_COMMAND='' PS1=\#\$\  PS2='' PS3                         <='' sh .
u0_a82@odroidc2:/data/data/com.arachnoid.sshelper/home $ 
14:31:19.184652 tramp-get-connection-property (7) # check-remote-echo nil
14:31:19.184693 tramp-get-connection-property (7) # check-remote-echo nil
14:31:19.184759 tramp-get-connection-property (7) # gateway nil
14:31:19.314898 tramp-open-shell (5) # Opening remote shell ‘sh’...failed
14:31:19.315058 tramp-maybe-open-connection (3) # Opening connection for [email-masked] using ssh...failed
14:31:19.316325 tramp-get-file-property (8) #  file-truename nil
14:31:19.316388 tramp-flush-directory-property (8) # 
14:31:19.316444 tramp-get-connection-property (7) # process-name nil
14:31:19.316493 tramp-get-connection-property (7) # process-name nil
14:31:19.316594 tramp-get-connection-property (7) # vector [ssh u0_a82 192.168.2.22 / nil]
14:31:19.316661 tramp-process-sentinel (5) # Sentinel called: ‘#<process *tramp/ssh [email-masked]*>’ ‘killed
’
14:31:19.316712 tramp-flush-connection-property (7) # *tramp/ssh [email-masked]* (vector temp-file last-cmd-time)
14:31:19.316816 tramp-set-connection-property (7) # remote-shell sh
14:31:19.316859 tramp-get-file-property (8) #  file-truename nil
14:31:19.316900 tramp-flush-directory-property (8) # 
14:31:19.317641 tramp-get-connection-property (7) # process-name nil
14:31:19.317712 tramp-flush-connection-property (7) # [ssh u0_a82 192.168.2.22 nil nil] (remote-shell first-password-request)
14:31:19.317806 tramp-set-connection-property (7) # remote-shell sh
14:31:19.317851 tramp-get-connection-property (7) # process-buffer nil
14:31:19.317982 tramp-file-name-handler (1) # Interrupt received in operation (file-directory-p /ssh:[email-masked]:/)