TRAMP should know how to work with Android 2.2 (via DroidSSHd; without env)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
GNU Emacs |
New
|
Undecided
|
Unassigned | ||
emacs23 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
I have installed and started DroidSSHd (http://
(There are simply no other packaged free (= libre) sshd frontends that could be installed and run without root access on my Samsung Galaxy S with Android 2.2 without rooting it.)
DroidSSHd package includes no scp or sftp programs. (But I could transfer some files through ssh 'cat - > filename'.) It lsitens on port 2222.
I wanted to connect to the Samsung Galaxy S with TRAMP in Emacs, C-x C-f /ssh:192.
buffer *tramp/ssh 192.168.1.100*:
exec: env: not found
Connection to 192.168.1.100 closed.
Process *tramp/ssh 192.168.1.100* exited abnormally with code 127
from *Messages*:
Loading tramp...done
Tramp: Opening connection for 192.168.1.100#2222 using ssh...
Tramp: Sending command `exec ssh -p 2222 -e none 192.168.1.100'
Tramp: Waiting for prompts from remote shell
Tramp: Sending command `exec ssh -p 2222 -e none 192.168.1.100'
Tramp: Found remote shell prompt on `192.168.1.100'
Tramp: Opening connection for 192.168.1.100#2222 using ssh...done
Tramp: Opening connection for 192.168.1.100#2222 using ssh...
Tramp: Sending command `exec ssh -p 2222 -e none 192.168.1.100'
Tramp: Waiting for prompts from remote shell
Tramp: Sending command `exec ssh -p 2222 -e none 192.168.1.100'
Tramp: Found remote shell prompt on `192.168.1.100'
Tramp: Opening connection for 192.168.1.100#2222 using ssh...done
byte-code: Process has died
Perhaps, we can teach TRAMP how to work with Android 2.2. Perhaps, it shouldn't count on the availability of "env"?
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: emacs 23.3+1-1ubuntu9
Uname: Linux 3.0.27-1-ac100 armv7l
ApportVersion: 2.0.1-0ubuntu11
Architecture: armhf
Date: Sat Aug 25 16:53:23 2012
PackageArchitec
SourcePackage: emacs23
UpgradeStatus: No upgrade log present (probably fresh install)
Perhaps, we could use the experiance of https:/ /github. com/juergenhoet zel/tramp- adb -- a method for connecting to Android as well, but through adb and USB. But the restrictions of the available tools on the Android side are probably similar in both cases.