Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have asked this question in StackOverflow, but I figured it should be asked here...

I need to run my android application from remote computer (in the same network) via SSH (not using ADB). How do I do that?

Thanks, Binyamin

share|improve this question
See also: How to launch Google Keep from shell?. About how to find the activity to start, see e.g. What is the main activity of Google Keep called? – Izzy Mar 25 '13 at 11:30

You need to run an SSH server on your phone, such as SSHDroid.

You can launch adb shell from SSHDroid, and then run am start -a android.intent.action.MAIN -n <qualified-app-name>. For example, <qualified-app-name> is something like

share|improve this answer
Matthew, that's clear, but what kind of command should I send? – MByD Mar 19 '11 at 19:16
Updated answer. – Matthew Read Mar 19 '11 at 22:25
Thanks. will try that. – MByD Mar 20 '11 at 8:26
You don't need to run adb shell before using am. am works like any other shell command, so you can run it from a SSH session directly, unless the SSH server dicks around with your $PATH. – Dan Hulme Jun 3 '14 at 11:58

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.