LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Mobile (https://www.linuxquestions.org/questions/linux-mobile-81/)
-   -   Problems with OpenSSH on Android (https://www.linuxquestions.org/questions/linux-mobile-81/problems-with-openssh-on-android-910344/)

Stefan3 10-26-2011 05:31 PM

Problems with OpenSSH on Android
 
I'm trying to install OpenSSH on my phone. Connectbot is not useful because it seems to lack an SCP client and besides it can't be used as a tunnel for other programs (e.g. CVS). The first thing I need to do is to build OpenSSH, which I'm trying to do on my Ubuntu 11.10 laptop.

I start by calling the "configure" script:
Code:

CC=~/android-ndk-toolchain/bin/arm-linux-androideabi-gcc ./configure --host=arm-eabi
Unfortunately, this ends with an error message:
Code:

configure: error: *** OpenSSL headers missing - please install first or check config.log ***
Where do I find the missing OpenSSL headers and where do I install them?

replica9000 10-26-2011 05:36 PM

Might help you out some. If you're looking for a decent SCP client, AndFTP is pretty good. I use ConnectBot and AndFTP to access my home network.

Stefan3 10-26-2011 05:44 PM

Quote:

Originally Posted by replica9000 (Post 4509234)
Might help you out some. If you're looking for a decent SCP client, AndFTP is pretty good. I use ConnectBot and AndFTP to access my home network.

It solves the problem of having to run both an SSH client and an SSH server in order to use SCP, but it doesn't act as an SSH tunnel for CVS.

Stefan3 10-28-2011 08:10 AM

I solved this by using a different SSH client. It turned out that the SSHDroid server application contained both the Dropbear client and the Dropbear server instead of just the server. Copying the Dropbear files from SSHDroid's /data/data directory to my terminal emulator's /data/data directory allowed me to use SSH from the terminal emulator.


All times are GMT -5. The time now is 11:28 PM.