Secure Shell (SSH) is a network protocol for secure remote shell services and command execution.

learn more… | top users | synonyms

34
votes
2answers
17k views

Is there some SSH server for android?

Is there an ssh server for Android (such as openssh for Ubuntu) that will allow me to access my device console via PuTTY?
21
votes
4answers
2k views

Automatically connect to Wi-Fi nodes, but route everything through encryption

Related to my question about VPNs, is there any way to get my phone to automatically connect to unencrypted access points, but route all my traffic through my home network? This would be kind of like ...
16
votes
12answers
21k views

Are there any command line SSH clients available for rooted Android phones?

I of course have ConnectBot, but I'm looking for something I can script. Edit: To clarify here, I'm not interested in running scripts from a terminal. What I want to do is run an SSH command in an ...
11
votes
2answers
10k views

Is it possible to use an Android device as X11 server for a remote machine over SSH?

When my desktop computer is up, I can connect to it with my notebook, even over the internet (I've set up my router to forward SSH to my desktop computer). My desktop computer runs GNU/Linux (Ubuntu ...
10
votes
1answer
1k views

SSH (and SFTP) server on Android discoverable through avahi/bonjour

I would like for my Android device (a Samsung Galaxy) to be discoverable through avahi/bonjour when it is connected to a WiFi network, and then to be able to access its filesystem via SSH (SFTP). For ...
10
votes
2answers
1k views

Why is the SSH server not working on Android 4, are the ports being blocked?

I am having difficulty ssh'ing into my new Android 4 (Samsung Nexus) phone. I have installed various SSH Servers but in in all cases the ssh connection just hangs (i.e. I don't get as far as ...
9
votes
3answers
7k views

Command to install app from phone?

I'd like to SSH into my phone, download an APK, and install it remotely. Is there a command available on the phone that would allow me to do this? EG: wget localhost/file.apk android_install ...
9
votes
2answers
4k views

how to run a specific app's action via terminal?

I need to run my android app from a remote computer via SSH, but I'm not a command-line expert, so I would like to know: how to run a specific action of an app? (not just open it) Which implies: how ...
7
votes
1answer
2k views

How can I remotely change the volume?

At home I often connect my android to some speakers, to listen to internet-radio. It would like to be able to change the sound-level through a command on my laptop. I can open an ssh shell to the ...
7
votes
2answers
15k views

How to start SSH Server in my Android?

I am trying to login to Android Eee pad transformer from my other linux box using SSH. This are the step i followed and failed. So asking here for the correct answer. 1) Go to Android market and ...
7
votes
2answers
959 views

How can I securely store my private key I use for logging into my home PC

I've been told that the SD card is a terrible place to store secure data because any app can read it. How else can my phone store my private key I use to log into my home PC ssh server?
7
votes
4answers
3k views

How to SSH into Android from a different network?

I'm running SSHDroid on my unrooted android device. When my SSH client on ubuntu or windows are on same wifi network as the Android, I'm able to connect to it via SSH. But what I want to do is, ...
6
votes
2answers
2k views

How to return to the home screen with a terminal command?

Is there a terminal command to go to the home screen? I need to do this via ssh, so I cannot just push the "home" button, I need to send a command-line action..
6
votes
2answers
5k views

Where to add SSH keys to allow connections to remote server on Android?

I'm using a rooted custom Android kernel (Gingerbread), and am able to connect to a remote SSH server with password authentication using busybox and a terminal emulator app. I would like to be able ...
6
votes
2answers
780 views

SSH Tunnel with Android

Without rooting, how can I SSH tunnel to my homePC running sshd? I need ssh tunnel to VNC home, but i don't trust VNC, so I want to use it with SSH to make it safe! Thank you for any help!
6
votes
4answers
921 views

what is the most comfortable way to ssh and vim/latex/c++ on android?

I'm debating if i should get droid x. i'd like to use it for work, meaning latex and code in c++. I use vim. i know this is possible with connectbot. but possible doesn't mean i can substitute a ...
6
votes
1answer
1k views

Terminal emulator's ssh trying to read /data/.ssh instead of $HOME/.ssh [closed]

When I try using Terminal emulator's ssh I get ssh: Warning: failed creating /data/.ssh: Permission denied. or since 2012-08-19: Could not create directory '/data/ssh_client'. But when I ...
5
votes
2answers
581 views

How can I explore my android from my computer

I'd like to explore the content of the internal memory. I have a rooted phone with a terminal emulator which allows me to navigate through it. The problem is that it's quite hard to use (small ...
5
votes
2answers
1k views

Running a tasker task via SSHDroid (or adb shell)

I'm trying to run a tasker task manually from ADB Shell, via SSHDroid. I'm running the following in putty (Windows SSH client): am broadcast -a net.dinglisch.android.tasker.ACTION_TASK -es task_name ...
5
votes
1answer
98 views

Synchronising files over SSH

I have an SSH server providing access to my files at home, secured by a private key. I'd like to be able to synchronise those files with my Android phone (Samsung Galaxy Note, running Cyanogenmod 11 ...
4
votes
1answer
266 views

Write permission on certain paths, like the SD card (extSdCard)

In an attempt to transfer a file from a remote server to an Android device I ran into permission problems. It turns out that I do not have a write permission at the location of the SD card ...
4
votes
1answer
774 views

How can I see the fingerprint of my adbkey?

You should know that Android 4.2.2 (or just before) introduced RSA key checking for adb access. – The device asks now if you want to allow access. To avoid asking every time, the computer presents an ...
4
votes
1answer
1k views

CM7: How to enable passwordless SSH login on same network?

I'm running CyanogenMod 7 and I'd like to enable passwordless SSH login to my main Linux computer on my network, but only when the phone is accessing the server over the same network. How/where should ...
3
votes
3answers
453 views

Set hostname for SSHelper

I currently use SSHelper to transfer my data to the Android 4.0 device. The app displays the IP address that is currently assigned. Since this IP address changes regularly, I'd like to use a hostname ...
3
votes
1answer
10k views

WinSCP for android equivalent

Is there a drag/drop ssh client for android so I can connect to my home server via ssh and easily transfer files from server to android phone? something like winSCP for Windows?
3
votes
1answer
354 views

Performing key combinations in connectbot?

Does anybody know how to perform key combinations in ConnectBot? Examples: Ctrl+Z Ctrl+F2 Ctrl+Alt+Del
3
votes
2answers
4k views

scp and rsync to transfer data from Linux to Android

I'd like to be able to push PDF files onto a phone/tablet with a Bash script. Is it possible to transfer data using scp (or even rsync) from a Linux computer to an Android phone over wireless? Could ...
3
votes
1answer
2k views

How to access a linux shell from my phone via bluetooth?

Basically I want to send shell commands from my phone to my PC (Ubuntu 11.10) via bluetooth. Why? Because I don't always have WLAN and WLAN on my phone sucks. All possible solutions are welcome. I ...
3
votes
1answer
2k views

Run android application from remote computer

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 ...
3
votes
1answer
707 views

Controlling a Google TV remotely via SSH

I have a Sony Google TV running firmware 3.2. Is it possible to install a simple SSH server and log into it remotely via SSH, and then issue commands to change TV channels, load websites in Chrome, ...
3
votes
1answer
595 views

Connecting to X11 on linux

I used to connect with SSH to school server on iPad with iSSH, which can work as X11 server, and remotely work through SSH and X11 with iPad as a server. I thought since it is easy with iPad, it will ...
3
votes
2answers
720 views

RDP client that can use an SSH tunnel created by ConnectBot?

I want to reach my home PC with RDP but I want to do it in an SSH tunnel because of security reasons. Are there any RDP clients for Android that can be set to use the SSH tunnel created by ConnectBot? ...
3
votes
0answers
207 views

Using a VPS as a proxy

I am trying to use my VPS running Cent OS as a proxy via SSH from my Galaxy S3 running Cyanogen Mod 9. I can connect to my VPS using ConnectBot. In this program I sett the Port Forward to: Type: ...
3
votes
1answer
634 views

Is there some SSH server for android-x86?

I am using Android ICS x86 build for debug purposes in VMware Workstation, but I can't find any ssh server, so how can I install ssh server on it? I've tried SSHDroid, Dropbear SSH and some others - ...
2
votes
4answers
2k views

How to run an SFTP server on my CM9 RC2 Galaxy Nexus

I want to run an SFTP server on my GSM Galaxy Nexus (Cyanogenmod 9 RC2). I plan to connect to the Galaxy Nexus from a Kubuntu 12.04 PC via USB cable (not wireless). It is my understanding that ...
2
votes
1answer
1k views

Run connectbot as root? [duplicate]

I'd like to do reverse ssh tunneling with my phone. Anyone know how I can run connectbot as root so that it can bind to port 22 ?
2
votes
1answer
194 views

SSH tunnel with two hops

I would like to build an ssh tunnel from my android device (call it A) on port MMM to a machine C on port NNN. HOWEVER, A and C are not directly connected. They are only connected through machine B ...
2
votes
1answer
551 views

Automatic system-wide proxy

When I'm on a public network that I don't trust, I use a combination of ConnectBot and ProxyDroid (with "Global Proxy" enabled) to tunnel my phone's traffic through a trusted server that I control. ...
2
votes
1answer
453 views

SSH to Mac using Android Phone

I am trying to SSH into my Macbook Pro (10.6.8) using my Android phone. It is a SGH-T989 running the latest stable Cyanogenmod 10 (4.1.2). I have enabled remote login on my Mac and confirmed I can ...
2
votes
3answers
1k views

In search of a Terminal App that works with SSH to AWS (EC2)

I have the itch to try and see how far down this path I can get for my own work. I've got a Galaxy Tab 10.1 and a Bluetooth keyboard. I created an AWS EC2 Micro Instance and I can SSH into it from my ...
2
votes
1answer
494 views

Does ConnectBot supports SSH tunnel /authenticating with pubkey/?

Can I connect with ConnectBot to an SSH server to SSH tunnel that doesn't uses passwords, because it's only using "ssh pubkey login"? Thanks.
2
votes
0answers
640 views

Connect from Android to SSH server without password

I want to run scripts on an Ubuntu PC from my Android phone just with a tap, no passwords or other stuff. Things I did so far: I managed to connect via SSH to the PC, but I cannot configure a ...
2
votes
0answers
45 views

resolve zeroconf-style “hostname.local” names [duplicate]

Possible Duplicate: bash - How can I check if a computer exists on my network WITHOUT IP (i.e. by device name only)? I would like to know whether it is possible to not simply search for my ...
2
votes
0answers
535 views

Why is sftp (client) so slow on Android? [closed]

I've encountered this across numerous Android clients on several devices and I don't understand it. Why is sftp so slow? For instance, transferring a single large file from my laptop vs my Nexus 7 ...
1
vote
1answer
702 views

Mount /sdcard with Linux

I have two Android 4.x devices, one 4.0.2 and another 4.4.2. On both, I have installed SSHelper to push data to and from the device using rsync. It worked, but the new environment does not even have a ...
1
vote
2answers
291 views

How do I fix pwd (print working directory) on Cyanogenmod 7?

I recently started using Cyanogenmod and I noticed some odd behavior in the shell for certain commands. The command works as expected in the Terminal app directly on the phone, but strange things ...
1
vote
2answers
2k views

SSH internet through Connect bot

Is it possible to forward all traffic from internet app over connect bot forwarded port?
1
vote
3answers
220 views

Send files from Linux to Android via ssh

I want to send some specific files from my linux PC to my android device. I'd like to send it automatically using terminal commands, so there will be no drag and drop files. I don't know what is the ...
1
vote
1answer
536 views

Android keyboard and remapping the CTRL key

I have an Samsung Galaxy 10.1 running Android version 4.1.2. I am using ssh to remotely connect to my main machine which runs Ubuntu 12.04 LTS. Once I am connected I do all my work in emacs 24.3. I ...
1
vote
1answer
297 views

Install SSH Server or other terminal viewer for HTC X one

I'm trying to set a SSH server in order to execute and download and upload files into my HTC One X. I tried Dropbear. and Dropbear 2 but they both failed. Can I do it without rooting my htc? Guy