Home | Android |     Share This Page

An Android-based multi-protocol server

Copyright © 2014, Paul LutusMessage Page

Current Version: 6.2 (04.011.2014)

Introduction | The basics | The details
Technical/optimizations | SOCKS proxy setup | Superuser
Solving problems | Debugging and analysis | Pay it forward
Copyright, source, version history

"Let's move that data!"

SSHelper download QR code
 Direct download link

Figure 1: SSHelper on a small screen.
Click the image to see a larger display.

Get SSHelper at the Android Market

  • The Program

    • SSHelper is an advanced, multi-protocol, secure server for the Android platform.
    • SSHelper requires Android version 3.2, API 13, or newer.
    • SSHelper works just fine with a normal, unrooted Android device — i.e. your device.
    • SSHelper works as an application and as a service. As a service it runs in the background, providing secure communications protocols without requiring user attention.
    • SSHelper supports interactive Secure Shell (hereafter SSH) sessions and various kinds of transfers including scp, sftp, and rsync, on all common platforms:
      • On Windows, SSHelper works with WinSCP, PuTTY and similar programs.
      • On Linux, apart from normal SSH shell session activities, SSHelper can be used directly with file browsers for seamless filesystem browsing and transfers by specifying the "sftp:" protocol.
      • On the Mac, SSHelper works with Cyberduck and similar programs.
    • SSHelper announces its services on your local network by way of Zeroconf/Bonjour, a simple and efficient way to configure, and communicate within, a network.
    • SSHelper hosts a small Web server that gives a remote view of the activity log — useful for administration and development.
    • SSHelper is free, open-source and there are no ads. It's licensed under the GPL and the source is freely available.
  • The Programmer

    Hello — I'm Paul Lutus, author of SSHelper. I've been writing software for about 35 years and have written some very well-known titles (Apple Writer, Arachnophilia). SSHelper is my first Android application — I wrote it simply because there were no Android programs that could give me what I needed. Existing programs were missing features and protocols, primarily support for rsync, a very efficient way to synchronize two directory trees.

    I hope you like SSHelper. And stay tuned — I'll be writing more Android programs in the future.

The basics

I'll start with the simplest instructions, then in a later section I'll provide details for those who want them.

Getting SSHelper

  • Here are some easy ways to get SSHelper:

    • Simplest and preferred: get SSHelper at the Google Play Store.
    • At the top of this page is a QR code (the box with the pattern) that can be used to transfer SSHelper directly to your camera-equipped Android device by way of a QR code reader (on many units with a camera, Android comes with a QR code reader). Read the code with your Android device's camera and QR software, download the SSHelper installation file and install it.
    • Second option. Below the QR code is a download link to the SSHelper installation file (and  here is that link again). This approach only works if you're browsing this page with your Android device. Click the link and, as above, download the SSHelper file and install it.

Setting Up

  • When you run SSHelper the first time, it installs itself, its supporting programs (OpenSSH, Busybox, Rsync and others) and creates a directory structure to support its activities.
  • When SSHelper is done installing itself, it will automatically start its Secure Shell server on port 2222, the default port for non-rooted Android devices using Secure Shell (SSH).
  • To verify that SSHelper has started normally:
    • Look at the top of the display and check the appearance of the status LEDs:
       Server  Wireless
      These LEDs show that the Secure Shell server started successfully and there is an active wireless connection. Contrast this with the session shown in Figure 1 at the top of the page, where no wireless connection is available (because it's not a real device, it's an Android development emulator).
    • Touch the  Activities icon and see if there are log entries that look more or less like this:
      2011-10-31 20:31:22 sshd: Server listening on port 2222
      This also indicates normal operation.
  • The next step is to get your device's IP address. Touch the  Configuration icon and make note of the "Server Address". You will need this address to connect with your device.

Making First Contact

  • For this step, you will need to have:

    • The server's address (see above), which is a four-part number that looks more or less like this:
    • A laptop or desktop machine able to connect with your Android device using a wireless connection.
    • A suitable SSH client program for your platform. I have listed some possibilities above, in a range between full-fledged file browsers that understand SSH, to simple command-line programs for less exotic interactions.
  • Let's get started. Let's say I have SSHelper running on my Motorola Xoom. By clicking the  Configuration icon I notice that SSHelper's IP address is and the port is the default — 2222. I write these down.
  • Here is how to connect to your Android device using WinSCP on Windows:

    • For this example we move to a Windows machine and run WinSCP, a popular SSH client program for Windows.
    • When it runs, WinSCP asks for a host name. Your Android isn't likely to have a host name on your local network, so instead type in the IP address you acquired from SSHelper above.
    • Next, WinSCP wants to know a port number. Type in 2222.
    • For "User name", type anything, it doesn't matter, but type in something.
    • For "Password", type "admin", the default SSHelper password.
    • Skip "Private key file" for now.
    • For file protocol, choose "SFTP" if it isn't already selected. This is one of the many protocols SSHelper recognizes.
    • Now click "Login".
    • WinSCP will show a dialog warning about connecting to an unknown server. Click "Yes."
    • WinSCP will then show a login banner that originates with SSHelper — this is a convenient way for you to be reasonably sure you're connected to the SSHelper server. Click "Continue".
    • Next, if you installed WinSCP with the Commander interface option (recommended), you will see a two-pane window with your local file system listed on the left and the Android/SSHelper filesystem listed on the right.
    • Now skip ahead to "Here's how to navigate on all platforms" below.
  • Here is how to connect to your Android device from a Linux desktop:

    • Open a file browser — Dolphin (KDE) or Nautilus (Gnome):
      • On the Dolphin file browser (KDE), to make an address bar visible, click next to the folder located above the main data window (the flyout text will be "Click to Edit Location") and type "sftp://(ip address):2222". A typical entry might be "sftp://", but using the address your acquired earlier.
      • On the Nautilus browser (Gnome), choose menu item "Go" ... "Location" and type "sftp://(ip address):2222", just as above.
    • On both the Dolphin and Nautilus file browsers, you are next asked for a username and password — enter anything for the user name, and "admin" for a password.
    • Contrary to what is said below, the Nautilus browser won't go to the SSHelper Home Page, instead it will most likely go to the Android root directory. If this is your experience, simply click the "/sdcard" directory to get back on track with the examples to follow.
    • A hint for you sophisticated Linux users: to avoid having to repeatedly type in the nonstandard "2222" port, create a file named "config" under your home page .ssh directory with this content:
      host (IP address)
        port 2222
      After you have created this configuration file, you will be able to gain access to your android device in the default way: "sftp://(IP address)" or, from a shell, "ssh (IP address)".
  • Here's how to navigate on all platforms:

    • When you first make contact, SSHelper shows its home directory (with the exception noted above), which on your Android device is /data/data/com.arachnoid.sshelper/home.
    • But because of how Android deals with security issues, when you are using your Android device directly, you are a different user and your home directory is (most likely) /sdcard, where your e-books, music and other resources are located. Therefore most of your SSHelper activities will be with respect to the /sdcard directory.
    • To go to that that directory from the SSHelper Home Page, click the "SDCard" link that is provided in the home directory.
    • If the above action was successful, you will be in the most useful location on your Android device. It's where you store your own media — downloaded videos, books, music. For example, the directory named "eBooks" contains any e-books you may have acquired, or that came with the device.

At this point, the reader will be able to transfer large amounts of data to and from the Android device — synchronize directories, explore the Android file system, and many other things. This completes the basic introduction to SSHelper.

The details

This section is a detailed list of SSHelper's features. On the SSHelper display is a row of tabs:

  •  Activity

    The activity tab contains a log display of SSHelper's actions and states. It is a very useful way to analyze problems and to monitor user interactions. SSHelper also creates and serves a Web page containing this log information, details below. The log's contents and level of detail are controlled by the "select data logging mode" control on the configuration tab described below.

    To set log display options and copy the log's contents to the system clipboard, long press the display.

  •  Configuration

    The configuration tab contains a list of user-selectable options and data entry fields:

    Item Description
    Server Address This field is predefined. It contains the address your Android device was assigned by the network. Later, we will discuss methods to make this a permanent, unchanging address for convenience in making contact with the device from your local network.
    SSH Server Port Number This is part of the network protocol used in communicating with your device. For a non-rooted Android device, only port numbers above 1024 are allowed. The classical SSH port number of 22 is not assignable without rooting your phone, which I don't generally recommend.

    The fact that one may not assign the classic SSH port of 22 seems like an annoyance, because one must specify a port when making contact. But as it happens, there is a way to tell your computer to do this automatically — details below.

    To change the port number, touch the port number entry field and a soft keyboard will appear to accept your entry.
    HTTP Server Port Number This is the port number for the activity log HTTP (Web) server. For reasons given above, unrooted Android devices must use numbers above 1024. The default value is 8080.

    To change the port number, touch the port number entry field and a soft keyboard will appear to accept your entry.
    Server Password This is the password you use to contact your Android device. The default is "admin".

    As it turns out, the best and most secure way to set up SSHelper is to arrange a no-password configuration. In that configuration, you're automatically logged on without having to enter a password, but ironically it is more secure than allowing password entries. The full details are below.
    Disable password logins This option allows you to prevent attempts to log onto your Android device using a password. It's part of a more secure scheme in which SSH keys are exchanged between server and client to allow automatic secure login, then, since there is no more need to enter a password, the option is disabled to prevent third party attempts to guess your password. Full details below.
    Enable strict modes This option increases or decreases strictness about checking file and directory permissions — checks that might prevent public-key logins from working. If disabled it allows imperfectly configured client machines to have successful public-key (passwordless) logins.
    Allow port forwards from any host This option simplifies certain transactions that involve more than one network hop.
    Run SSHelper service at boot This option automatically runs the SSHelper service when you turn on your Android device. This means you can log onto the SSHelper server as described above, but there is no activity running, which saves system resources and simplifies access to SSHelper, once you have chosen and tested the options you need.
    Enable Wifi while running This option automatically enables the device's Wifi service. For nearly all SSHelper activities, an operating Wifi service is required. This is a simple way to assure that the service is running.
    Check Wifi connectivity This option allows SSHelper to periodically check for the presence of a WiFi connection. The results are shown by one of the virtual LEDs described earlier.
    Enable Zeroconf broadcast This option allows SSHelper to announce its services on your local network using Zeroconf/Bonjour, an efficient way to communicate information within a local network. It also allows you to access your device on the local network using "(device name).local" instead of needing to remember the device's IP address.
    Enable log display HTTP server This option enables an HTTP (Web) server that produces a Web page showing the SSHelper activity log.
    Prevent standby while running On many Android devices, after a period of inactivity the device goes into standby mode, and this option prevents it. The result is faster network transactions, but this may not be as important as allowing your device to enter standby with reduced power consumption. I recommend that users test SSHelper both ways and make a choice on that basis.
    Select data logging mode This selector controls what appears in the activity log (and on the Web server output):

    • SSH Server Normal
    • SSH Server Debug
    • LogCat Fatal
    • LogCat Error
    • LogCat Warn
    • LogCat Info
    • LogCat Debug
    • LogCat Verbose

    The first SSHerver log level shows top-level events like the server restarting. The second level provides additional information useful for analyzing network and other problems.

    "LogCat" is the Android name for its system log, a collection of reports about essentially everything that happens on your device. For a short log display of important events, choose a level high on the list. For more detail, choose a level lower on the list.

    Remember that all the described log displays are provided to the SSHelper HTTP server as well as the activity tab, and the Web server color-codes the log entries in the same way, ranked by importance (click here for an example). The Web server log list is substantially longer than the activity tab's list — the activity tab text display can't handle much text without slowing the system down.
    Allow voice messages This option allows SSHelper to use a synthesized voice to tell you what's going on. The voice synthesis feature is not available on all Android devices, but as time passes it's increasingly common. Some users may find the voice prompts annoying, so they can be disabled with this option.
    Show password This option displays the password entry in plain-text. There's nothing more frustrating than to choose a very secure password, only to find that it's nearly impossible to enter without typographical errors.
    Cancel/Undo (button) As the user makes configuration changes, the old configurations are saved and can be recalled. This is a way to recover from bad or erroneous choices.
    Defaults (button) This option resets all the SSHelper options to their defaults. This is a way to recover from bad or erroneous configuration entries.
    Restart server with new values (button) This option makes the SSHelper server restart using the new choices. Many option entries do this automatically, but not all. This is simply a way to be sure that your choices have taken effect. This option works for most configuration choices, but a password change requires the user to also activate the menu item "Stop Server and Quit" for the change to take effect.
  •  Terminal

    The terminal feature opens a shell session with your device. This feature isn't particularly easy to use, for a number of reasons. One is that the Android soft keyboard is missing a number of keys that are regarded as essential for shell sessions, like escape, control keys, and arrow keys. Instead of trying to use this terminal feature with the Android soft keyboard, I strongly recommend that users either use a Bluetooth keyboard with a full set of keys, or open a Secure Shell session from a desktop or laptop computer where all the shell session features one expects from a modern shell will be functional — history, line editing, color-coded directory listings, and so forth.

    NOTE: In SSHelper version 2.0 and above the terminal emulator is greatly improved. To see its options and control it, long-press the terminal display. The emulator is still crippled when using the Android soft keyboard, but when used with an external Bluetooth keyboard it's an almost-normal shell session (i.e. with history and line editing features).

    The terminal feature can be used to recover from certain problems where the only access is local, for example an orphan server process that's blocking the default port, but one that cannot be stopped by the usual remedy of restarting the server by touching the restart menu icon. In this case, typing "killall sshelper_sshd" in the terminal emulator may solve the problem.

  •  Home/Help
    This tab opens a Web browser and loads this page — the SSHelper Home Page. This option allows the user to read the instructions while configuring SSHelper. It also uses substantial system resources, noticeable on smaller Android devices. So if this option makes your Android device suddenly slow down, you may want to avoid it.
SSHelper also has an option menu (on devices with large displays, the menu items are sometimes all visible on the action bar):
  •  Keyboard
    In some contexts you will need a keyboard to make an entry but the soft keyboard won't appear automatically. This option makes the keyboard appear.
  •  Restart
    This option restarts the SSHelper server. Touching the status LEDs also has this effect. Restarting the SSHelper server logs off any ongoing shell sessions and transactions, so it should be used only when necessary. (On some Android devices this option appears at the top of the display as an icon instead of a menu item.)
  •  Stop & Quit
    This option stops the SSHelper login server and exits the program. As is normal for Android applications, the application can be restarted from the background list. The point of this option is to disable the SSH server if that is desired. Do be careful when using this option — it will close any ongoing shell sessions and transactions.

Web server

  • By default, SSHelper runs a Web server that provides a view of the Secure SHell server's activity log and some related information. Just run a Web browser on a networked machine and enter http://(android IP or name):8080 to see the activity log. This is very useful to resolve operational difficulties, compared to trying to read the Android device's activity log on what may be a tiny display.
  • The user can change the port used by the HTTP server, as well as disable the server if desired. These options are located on the confuguration tab.

User customizations: ~/.profile

When the user logs onto SSHelper either from the local terminal or remotely, the launched shell reads an initialization file located in the SSHelper home directory (full path: /data/data/com.arachnoid.sshelper/home/.profile). The ~/.profile file may be edited to suit user needs and tastes — it can be used hold the user's favorite aliases, among other things.

For example, the default ~/.profile contains this alias:

              alias ls="$SSHELPER/bin/ls"

This alias allows color directory listings by using the provided Busybox "ls" instead of the default Android executable. But because this alias is located in a user-configurable file, it can be changed, and any number of other aliases and commands may be added.

This example also shows that the environment variable SSHELPER is available, defined to point to the SSHelper base directory (/data/data/com.arachnoid.sshelper), as a convenience to save typing.

The ~/.profile configuration file is meant to get around the fact that the Android platform is ... well, let's say "diverse". There are any number of different Android variations with the same version number, and any number of versions available at the same time, so a program like SSHelper needs to be flexible about its configuration, and users may want to use this file to change some basic assumptions.

User customizations: ~/.ssh/environment

The prior section discusses how to customize SSHelper's login behavior, the behavior that follows a formal shell login from a remote system. For SSHelper accesses that do not involve a login, another configuration file is the right target for customizations, one that is read and acted on regardless of whether the transaction involves a shell login.

To clarify, if a user logs into SSHelper from a remote location like this:

              $ ssh (name or IP) -p 2222

Then a full shell session is started and the configuration file located at ~/.profile is the right choice for customizations. But if the user issues an explicit command without formally logging on, like this:

              $ ssh (name or IP) -p 2222 ls -la

Then there is no login shell and ~/.profile is not read or acted on, so another configuration file is the right choice for customizations — ~/.ssh/environment. To explain a bit further, the ~/.ssh/environment file is read and acted on during all SSHelper transactions, but the ~/.profile file is only read during formal shell logins.

One note of caution. The ~/.ssh/environment file contains some essential configuration information without which SSHelper cannot function correctly. Be careful while editing its contents. Some of the entries are optional, but others can prevent SSHelper transactions from completing as expected. To recover from a bad edit of ~/.ssh/environment, one may have to uninstall and reinstall SSHelper.

Public-key (passwordless) logins

  • SSHelper provides secure, reliable interaction with your android device through use of the Secure Shell Protocol and its variations. SSHelper can be used without any special setup (all you need to remember is the default password — "admin"), but the supported protocols are both more usable and more secure if certain setup procedures are carried out.
  • Here is how to simultaneously improve operational security and eliminate password entry:

    These instructions are for Linux, but a nearly identical approach work in Windows.

    • Step 1. If you haven't already done this, generate a pair of SSH authentication keys on your desktop/laptop (don't do this if you've already created a key pair). From a shell session in your home directory:

      $ ssh-keygen -t dsa -f ~/.ssh/id_dsa -N ''
      The above command will produce a key pair in your user-level SSH directory (/home/username/.ssh). The pair are "id_dsa", the private key, and "id_dsa.pub", the public key (technical explanation).
    • Step 2. Make your public key available to your Android device:

      $ ssh-copy-id -i ~/.ssh/id_dsa.pub "(android IP address) -p 2222"
      SSHelper will ask for a password for the above transaction, but (if all goes according to plan) that will be the last time it will ask for a password.
    • Step 3. Disable password logins in SSHelper:

      Now that you've set up public-key authentication, move to your Android device, touch the  Configuration icon, and check the "Disable password logins" option. You don't need to use a password any more, and password logins only create a security vulnerability.
    • Step 4 (optional). If you're the only person who uses your Android device, the procedure is complete. But if more than one person needs access to your device, take these additional steps:

      • The additional users should create an SSH key pair as above, logged on under their own identity, in their own user directory.
      • They should copy their public key to the Android device exactly as shown above:
        $ ssh-copy-id -i ~/.ssh/id_dsa.pub "(android IP address) -p 2222"
        This procedure appends the new user's public key onto SSHelper's existing list of authorized keys. This procedure can be repeated as often as necessary, for as many additional users as necessary.
    • NOTE: The above key generation examples using a DSA key are only illustrative. Users may use RSA, DSA or ECDSA keys, all are supported by SSHelper, and the program generates all three types of host keys during installation.

Resolving public-key login issues

  • Recent versions of SSHelper use the OpenSSH library, which has many advantages over its predecessor but tends to be more strict about the conditions it will accept for a passwordless login. Here are some configuration tips:

    • Make sure the permissions in both the server and client Secure Shell directories are correct. They should both give a result that resembles this (the '$' symbol at the left is a shell prompt, you don't type it):

      $ cd ~/.ssh
      $ ls -la
      drwx------  2 username users  4096 Nov  2 12:20 .
      drwx------ 59 username users  4096 Nov  3 03:53 ..
      -rw-r--r--  1 username users 20584 Nov  2 17:26 authorized_keys
      -rw-r--r--  1 username users   149 Oct 26 11:54 config
      -rw-------  1 username users   668 Oct  6 18:45 id_dsa
      -rw-r--r--  1 username users   605 Oct  6 18:45 id_dsa.pub
      -rw-r--r--  1 username users 24992 Nov  2 17:30 known_hosts
    • Your .ssh directory will most likely look different in small ways, but the permissions should be the same as shown above. The meaning of the above permissions is:

      • Only its owner should be able to read or write the private key id_dsa. Very important.
      • Others should only have read access to the public key id_dsa.pub and other files.
      • The .ssh directory (indicated above by ".") should only be readable, writable and browseable by its owner.
      • The user's home directory (indicated above by "..") should only be readable, writable and browseable by its owner.
      • The listed files and directories should have the same owner and group as the user, i.e. if the user's login name is "username" and belongs to the group "users", then the files and directories should all have the same ownership and group.
    • For those unfamiliar with shell commands, here's how to set the above permissions (again, the '$' symbol is a shell prompt, you don't type it):

      $ cd ~
      $ chmod 700 .
      $ cd ~/.ssh
      $ chmod 700 .
      $ chmod 644 authorized_keys config id_dsa.pub known_hosts
      $ chmod 600 id_dsa
    • Remember that the above permissions must be set on both the server and client home and ".ssh" directories. Remember also that, for the SSHelper server, these permissions are set during installation, so if there is any doubt about their being set correctly, users have the option to fully uninstall, then reinstall, SSHelper.

    • Some users report that problems with public-key logins were resolved by fully uninstalling, then reintalling, SSHelper. This method has the advantage that it completely erases the SSHelper directories and files, allowing the program to set the correct permissions and default options again.

    • If all the above steps fail to allow public-key logins, it will be because of something I haven't thought of, but SSHelper has a remedy — a configuration option to reduce the strictness of its tests. In SSHelper, go to the  Configuration tab and deselect "Enable strict modes".

    • For more detailed debugging information in the activity log, users may choose to increase the detail level using the "data logging mode" option selector, and there is an even more detailed debug mode described here.

More optimizations

  • Here is how to avoid having to type in "-p 2222" as shown above for each SSHelper transaction:

    This problem is caused by Android security, which in general is a "good thing™", but is sometimes annoying. In this case, non-root access means applications like SSHelper can't use port numbers below 1024.

    Over time the standard user-level SSH port has become 2222, although you can change it if you have a reason to (on a non-rooted Android device, you can't use the default SSH port of 22). But there is a relatively simple way to make your desktop/laptop SSH client aware of this nonstandard port and use it by default for your Android device with no specific port entries. Here's how:

    • If it doesn't already exist, create a new file in your main computer's user-level SSH directory. Create this file: .ssh/config

    • Give the file this content:

      host (Android device name or ip address)
        port 2222
    • After this step, SSH desktop/laptop clients will no longer need to specify a port as in the above examples.

  • Here is how to give your Android device a permanent address on your local network:

    (Yes, this topic list is getting rather far afield from simply setting up and running SSHelper. But these are important things to know and will make your local network perform more efficiently.)

    Did you notice in the above examples how we used (IP address) to identify the Android device? That's fine as long as your local network isn't using DHCP (Dynamic Host Configuration Protocol), which, in exchange for making network configuration easier and more robust, tends to assign IP addresses somewhat randomly. But it's very likely that your local network does use DHCP, which means two things:

    • Unless you look at the configuration tab in SSHelper each time you turn on your Android device, you won't know which IP address has been assigned to it.

    • Configuration entries like that in .ssh/config described above are only valid for one IP assignment — if you turn off your Android device, chances are the next time you run it, it will have a different address. This will invalidate the configuration entry.

    The solution to these problems is to use DHCP "static leases" in your wireless router. This approach has a number of advantages on a local network — you can make configuration entries like that described above and expect them to remain valid, you can access a device using the same name or IP address perpetually, and you can reliably connect with other machines or devices on your local network, a feature not expected in networks with DHCP address assignment.

    Unfortunately, according to this article, what I am calling "static leases" has different names and procedures for virtually every router manufacturer:

    • DD-WRT, the makers of the software I have installed on my Linksys routers, calls it "Static DHCP Assignment". Parenthetically I can recommend this software without reservation — it's quite good, and it's free.
    • The official dhcpd documentation calls it "fixed-address" assignment.
    • Netgear calls it "Address Reservation".
    • Cisco/Linksys (with factory software) calls it "DHCP reservation" or "Static DHCP". Ironically, many Linksys routers won't support the feature with factory software, but will after third-party software is installed.

    All these schemes rely on the fact that every networked device has a unique number assigned to it — a MAC (Media Access Control) number, shared by no other device in the world. Here's what a MAC looks like: 64:6a:2c:8e:1e:63. Each of those digits is hexadecimal, and there are 12 of them, so the address space has 1216 members (that's about 1.84 x 1017).

    Given the wide variety of routers and methods for assigning static addresses, I will provide the broad outline of the topic and hope my readers will be able to work out the details for their specific networks. Here are two options and effort levels:

    • Option 1: Assign a static lease to the Android device, thus making it consistently accessible on the local network.
    • Option 2: Reconfigure the local network to use static leases for every machine that needs to contact any other machine, but retain the other advantages of DHCP (primarily the fact that no configuration is required at the machine level).

    Here's how to set up Option 1:

    • Log onto your Android device

      From a desktop/laptop machine, open a shell session and:

      $ ssh -p 2222 (ip address)
      (after login complete)
      $ ifconfig
      In the listing from the above command, notice a line that looks like this:
      wlan0     Link encap:Ethernet  HWaddr 64:6a:2c:8e:1e:63

      The "HWaddr" number is the one you want. In most environments the number can be copied directly from the terminal session, avoiding the possibility of a typo.

    • Alternative: Negotiate the Android menu system. Go to Settings, WiFi, choose menu item "Advanced", read MAC address. The drawback to this approach is that you have to write down a 12-hexadecimal-digit number on a piece of paper. So 19th century.
    • Configure your router to assign this MAC a permanent address:

      As explained above, this procedure varies from manufacturer to manufacturer, but for a Linksys router with DD-WRT software installed, simply choose menu item "Services" ... "services", and notice a window labeled "Static leases".

      • Click "Add" to create a new entry.
      • For "MAC Address", type in the 12-digit hexadecimal address obtained above, formatted the same way: xx:xx:xx:xx:xx:xx.
      • For "Host Name", type in your preferred name for your Android device. This is only to help you keep track of your assignments, it's not a name that will be recognized by the local network.
      • For "Address", enter a local network IP address (example:, but your network address range may differ) that is not used for anything else. This address must be outside the range from which DHCP assigns addresses, and it must not conflict with any fixed address assignments set up for other devices.

      Having completed the above, reboot the router, then reboot your Android device to see if the assignment is carried out. If it is, then you have a reliable IP address for your Android device to use in SSH configuration as well as for logging on.

    Here's how to set up Option 2:

    • Perform the above MAC location steps for each machine on your local network — make a list of MAC addresses for all the machines and devices that need to communicate with each other.
    • Configure your router as described above, but make as many entries as you have machines and devices that need to reliably communicate. Make note of the assigned IP addresses for the next step.
    • One more step that wasn't in Option 1 — give your machines distinctive names that will be recognized by the local network:
      • On each desktop/laptop machine on your local network there is a master file named "hosts", containing machine names and addresses. Although largely neglected in modern times, this file can be used to convert user-assigned names to IP addresses. On Linux machines the file is /etc/hosts. On Windows machines it is C:\Windows\system32\drivers\etc\hosts.
      • To write into the hosts file, you need to have root authority. Exercise this authority carefully.
      • Here is how the hosts file should look after you have added a few machine names and addresses:       localhost.localdomain  localhost     machine1.com           machine1     machine2.com           machine2     machine3.com           machine3     myAndroid.com          myAndroid
      • To actually edit the hosts file, issue one of these commands:

        • Linux: $ sudo kwrite /etc/hosts
        • Windows: > notepad \windows\system32\drivers\etc\hosts

      • Use any names you care to assign to your machines, but don't put spaces in their names.
      • Save the file and test it. Its effect should be immediate — you should be able to refer to your network machines by their names.
      • Copy the edited hosts file to each machine on your network, so each of them will be able to use machine names instead of addresses.

    At the end of all the above procedures, instead of having to type "$ ssh -p 2222", then entering a password, you can type "$ ssh myAndroid" and be connected with no password. And when using Linux file browsers to transfer files, the advantages are even more striking — you can just type "sftp://myAndroid".

  • I have one more note about local networks and routers:

    In the DD-WRT software, there is a program called "Dnsmasq", essentially a DHCP server and DNS forwarder that is supposed to confer advantages if enabled. When I first acquired my Android device (A Motorola Xoom), I discovered that Secure Shell sessions would time out and disconnect in two minutes or less, which made long transactions like file transfers impossible.

    At first I suspected there was something about the Android software that was causing this problem, but after some intense detective work over several days, I finally discovered that Dnsmasq was terminating its dynamic address leases way too early. I disabled Dnsmasq and the problem vanished.

    I mention this because it was a serious problem whose cause was perversely subtle and counterintuitive. And very difficult to track down.


  • SSHelper versions 2.0 and above support Zeroconf, a very efficient way to set things up on a network. Basically, a Zeroconf-enabled device broadcasts its presence, its address and its available services on the local network. Similarly equipped devices can engage the broadcaster's services without having to know about the broadcasting device in advance. In other words, no configuration is required — Zeroconf.
  • Because SSHelper now provides a Zeroconf broadcast, much of the above discussion of finding a device address may no longer be necessary, in particular on a modern Linux desktop. Depending on which Linux distribution you have, you should be able to query your local network and discover the services offered by SSHelper as well as its assigned address.
  • With the Zeroconf feature enabled, you can refer to your Android device by name rather than needing to remember its IP address — just refer to it as "(device name).local" and name resolution will be taken care of. Also, most recent Android devices allow you to give them a custom name, and if you do, SSHelper will use that name to identify your device on the local network.

Rsync Notes

  • The rsync application and protocol is a very efficient way to move data between machines, synchronize directory trees, and perform similar activities. At the time of writing SSHelper is the only Android application that fully supports it.
  • Because most rsync transfers will take place to or from the directories under /sdcard, and because the "user" associated with /sdcard doesn't have the same permissions as the SSHelper "user", certain things cannot be done. Specifically, the SSHelper "user" can read and write files from/to /sdcard, list directories and so forth, but for some reason cannot change file permissions or timestamps.
  • Therefore, to avoid a flood of impertinent error messages as well as to avoid endless re-updating of already-updated files, while synchronizing a directory on /sdcard from a desktop or laptop machine, I recommend that rsync be used this way:
    $ rsync -azv --no-perms --no-times --size-only
      (source path)/ (android name or address):(dest path)/

    (all on one line)

    The above options call for rsync to archive ("-a") the source directory and all subdirectories to the destination, use compression ("-z"), be verbose ("-v") about what it's doing, don't try to modify destination times or permissions ("--no-perms --no-times") and , when comparing source and destination files, only compare sizes ("--size-only"), since the destination files' times and permissions will be wrong.

    The reason for these options is if rsync is allowed to compare times and permissions, because it wasn't able to correctly set the updated files' times and permissions as explained above, it will "solve" the problem by copying all the files over again, every time the operation is carried out. It's expected that a size comparison will detect and update changed files in most cases.

    There's one more option the user may want to include: delete ("--delete"). This option deletes any files on the destination directory tree that aren't on the source. Including this option assures that the destination directory tree will be identical to the source, even after deleting files from the source. But it's a risky option if the user isn't perfectly clear about which is the source and which the destination directory and machine.

  • To summarize the above, even though rsync can create a file in the /sdcard directory tree, it then can't change its permissions or its time stamp. I personally regard this as a bug, but that doesn't mean it will go away any time soon.
  • Notwithstanding the above bug, rsync is a very efficient way to update a music or photo collection, or any other large archive that needs periodic updates in a way that may involve many small changes.
  • The absence of rsync support was on a short list of critical, unmet needs that led to my decision to write SSHelper. I regard rsync support as essential to efficient filesystem management.
SOCKS proxy setup

SSHelper suports SOCKS 4 proxies, and setting up a SOCKS proxy is very easy. The only requirements for using an Android device as a SOCKS proxy host are that the device have access to the Internet (otherwise there's no point) and that it be running an SSH server like SSHelper.

Here is a typical setup procedure (on Linux, of course):

  • Install SSHelper on your Android device. Optionally set up public-key login. This isn't a requirement for SOCKS proxy, just a convenience.
  • Open a shell session at your desktop machine and enter:
    $ ssh -N -D (port) (Android device network name or IP) -p 2222
  • The SSH port ("-p 2222") specitier can be made part of your SSH configuration as shown above.
  • Choose a proxy port ("-D") that's above the protected region, i.e. above 1024. In this example let's use 9999.
  • The point of "-N" is to prevent the shell session from being interactive.
  • The above command can be put in a shell script, and it can be made to run in the background (by appending an '&' to the command line).

Now let's tell a browser about the proxy:

  • Firefox:
    • Navigate Firefox's menu system: Edit/Preferences/Advanced/Network/Connection Settings.
    • Choose "Manual proxy configuration".
    • Select SOCKS version 4.
    • Set SOCKS host: localhost or
    • Set SOCKS port: choose any convenient port. In thie example we're using 9999.
  • Google Chrome:
    • In this particular respect Chrome is more primitive than Firefox.
    • To make Chrome aware of the proxy, you need to launch it with a special command-line argument:
      google-chrome --proxy-server="socks4://hostname:hostport"
    • For the above example, the entry would be:
      google-chrome --proxy-server="socks4://localhost:9999"

To test the proxy, enter "my ip" as a Google search. The result will be the IP of the remote server, not your local network.

I tested this procedure in a local shell session on an Android device as well (using the SSHelper mini-terminal), meaning a SOCKS proxy can be set up local to the device. Unfortunately at the time of writing the Android versions of Firefox and Google Chrome can't be set up to exploit a locally configured SOCKS proxy.

It's important to understand that a SOCKS proxy hosted by an Android device can't have more abilities than the Android device itself and how it communicates with the Internet. One example of a limitation is firewall issues, in which a firewall between the Android device and the Internet blocks some or all of the ports and capabilities that SOCKS requires. Another issue is permissions — many remote hosts block proxies if they can or require special permissions. A SOCKS proxy set up on an Android device can't magically circumvent these kinds of restrictions.


If you're just interested in uploading media to your Android device in the most trouble-free way, or want to set up network communications so they're as transparent as possible, you don't really need this section. This section deals with a special mode that, after some rather risky procedures, confers administrator or "superuser" rights to an Android device's owner. If the procedures are done badly, they confer superuser rights to anyone who happens to log in, or even worse, can cause your Android device to become utterly dead, a doorstop, useful only on windy days. You've been warned.

First, some terminology:

  • An Android device that can confer superuser rights is said to have been "rooted."
  • A device on which the procedure has failed, and that has become dead, is said to have been "bricked."
  • If you embark on this activity, be careful that you don't get in a hurry, bypass "rooted" and go straight to "bricked."

I've added this section by popular demand. It seems many SSHelper users want to be able to go into superuser mode from my program. As it happens, for SSHelper versions 3.8 and above, that's not difficult at all, but again, the superuser mode isn't at all like normal Android activities — you can trash your device in unrecoverable ways.

Also, to explain this topic, I have to make some assumptions, one of which is the rooting package the user chooses to install. I chose CyanogenMod for my spare Android device (a rather dated Motorola Xoom), which I decided to root just to be able to test the mode with SSHelper, not because I have any particular interest in rooting Android devices.

I'm not going to explain how to root an Android device — others have explained it better, also I realize that if I leave out some crucial detail, I might be responsible for turning a bunch of high-tech tablets into cracker trays. I only mention CyanogenMod because installing it was relatively easy, and because some details in what follows are specific to it and to an Android app called Superuser. And be careful — it turns out there's more than one Android Superuser application. I recommend the one I've linked above, the one written by Koushik Dutta, primarily because it's open-source, but it also seems well-written.

Here are the steps to enabling superuser mode from SSHelper in an Android device with CyanogenMod installed:

  • Again, these instructions assume the device has already been rooted.
  • Uninstall any prior version of SSHelper from your device.
  • Install the latest SSHelper version from the Google play store, version 3.8 or newer.
  • If your CyanogenMod version doesn't have Superuser built in (some new versions do), you will need to install it also.
  • The Superuser application has a security configuration section in which you set superuser logon permissions.
  • Just to get started, to avoid difficulties while becoming familiar with superuser logons, set relaxed permissions in the Superuser application — more or less like this (superuser) or like this (SuperSU). You can increase the level of security later, after successfuly testing superuser mode.
  • Run SSHelper on your device and make it accessible to your network.
  • Start an SSHelper shell session either from its own terminal or (preferred) from another machine, and type this (user's entries are in green):

    $ ssh (android device name or IP) -p 2222
    SSHelper Copyright (c) 2014, P. Lutus http://arachnoid.com/android/SSHelper
    [username@localhost /data/data/com.arachnoid.sshelper/home]$ |
  • The above shows a successful SSHelper logon.

  • If you have followed all the instructions so far, and if you have configured the Superuser application as shown above, you're ready to type this:

    [username@localhost /data/data/com.arachnoid.sshelper/home]$ su
    username@android:/data/data/com.arachnoid.sshelper/home # |
  • The '#' prompt character is the traditional way to indicate superuser or root access.

  • Here are some ways to test whether you actually have root access:

    username@android:/data/data/com.arachnoid.sshelper/home # ping
    PING ( 56 data bytes
    64 bytes from seq=0 ttl=45 time=55.733 ms
    64 bytes from seq=1 ttl=45 time=62.904 ms
    ( ... )
    username@android:/data/data/com.arachnoid.sshelper/home # traceroute
    traceroute to (, 30 hops max, 38 byte packets
     1 (  2.708 ms  1.242 ms  1.947 ms
     2 (  23.436 ms  11.141 ms  10.679 ms
     3 (  12.361 ms  11.908 ms  13.150 ms
     4 (  16.002 ms  28.197 ms  22.709 ms
     5 (  12.176 ms  21.119 ms  24.877 ms
     6 (  19.423 ms  13.179 ms  11.724 ms
     7 (  11.801 ms (
          24.914 ms (  14.273 ms
     8 (  26.675 ms (
          16.210 ms  15.423 ms
     9 (  63.807 ms (
          43.581 ms (  43.965 ms
    10 (  60.283 ms  51.846 ms  55.939 ms
    11 (  52.155 ms  54.138 ms
          (  52.903 ms
    12  *  *  *
    13 (  62.200 ms  52.805 ms  62.179 ms
    username@android:/data/data/com.arachnoid.sshelper/home # iptables -L
    (long list of firewall rules ...)
  • The above are three very useful commands that you can't run as an ordinary user.

  • Remember, if you don't get the above results, ask yourself whether you fully uninstalled, then reinstalled, SSHelper version 3.8 or newer, and whether you actually rooted your device with CyanogenMod or another similar rooting package, and whether you have installed Superuser or a similar package. (CyanogenMod is the garden, Superuser is the gatekeeper.)
Solving problems

Hash mismatch

After a major rewrite of this application (after replacing Dropbear with OpenSSH), I began to receive reports of an occasional error that prevents passwordless logins and sometimes produces an activity log error message including the phrase "hash mismatch". The details are a bit complex, but the remedy may be to fully uninstall, then reinstall, SSHelper with a newer version. Don't simply upgrade. If it works, it's a pretty simple remedy, and I apologize for this bug.

If the above remedy fails, if after a reinstall the "hash mismatch" error message continues to appear, based on some online research I now realize the problem may sometimes be a bug in the Secure Shell libraries — one that only affects RSA keys. So one remedy would be to use DSA or ECDSA keys instead of RSA. This may see a rather extreme solution just to use my program, but because this is a longstanding bug that occasionally crops up in all environments reliant on OpenSSH, and because these newer key types are also better in a number of ways, the decision to change key types might be a wise choice regardless of the outome for this specific program.

Samsung Knox

Samsung has introduced a new security scheme that I suspect will backfire in their faces. Like many computer security schemes, in some cases this one ends up protecting the computer from its rightful owner. As just one example, Knox prevents people from logging onto their machines (i.e. starting an interactive shell session) using SSHelper and other similar programs.

According to user resports, for some Samsung Android devices, the Knox security feature (and SELinux) prevents an SSHelper shell logon, but users say the remainder of the program functions and file transfers work as expected using rsync, SCP, SFTP and other protocols. If your primary reason for using SSHelper is to transfer files to and from your Android device, the presence of Knox and the problems it creates may not matter.

To remove Knox from some Samsung devices, follow these instructions from the official Samsung site: How do I Remove/Uninstall Knox?.

The above page doesn't cover all, or even most, Samsung models. Here's another similar guide: How to Disable KNOX Security Service on Samsung Galaxy Devices.

Because SELinux, or more accurately SEAndroid, is the responsible party behind the scenes on Knox-equipped Android devices, those with rooted devices who want to disable this security scheme can simply edit (and create if necessary) the file /data/local/userinit.sh and add the line "setenforce 0" to permanently disable SELinux.

General problems

  • Most SSHelper issues have to do with understanding how Secure Shell transactions work and how to set them up. Public-key logon issues are covered here, but more technical depth can be found here.
  • To get more detail about logon issues, the user can invoke the SSH client like this:

    $ ssh -vvv (Android device name or IP) -p 2222
  • The above command-line option "-vvv" will produce a flood of detail about the logon transaction from the perspective of the client program. I have found this method useful in uncovering issues like file and directory permissions that Secure Shell requires.

  • One reliable remedy for a number of issues is to fully uninstall, then reinstall, SSHelper, especially if some time has passed since the last upgrade.

Debugging and analysis

Verbose Log Modes

With respect to the above issues and for general problem solving, some special debugging modes have been added to recent SSHelper versions. The advantage of the special modes is that much more debugging information is entered into the activity log. The drawback to the more detailed modes (1-3) is that only one login is allowed at a time, so these are temporary modes for problem analysis only. To enable and use the special modes:

  • Verify that the data logging mode selector (located on the configuration tab) is set to one of the "SSH Server Debug" selections, each followed by a number between 0 and 3 inclusive. Higher numbers provide more detail.
  • An alternative mode for general Android operational issues is to select one of the "LogCat" modes, between "Fatal" (not very useful) to "Verbose" (very detailed).
  • Restart the SSHelper server by pressing the  Restart button.
  • From a desktop shell session, log onto the Android device — type "ssh (Android device name or IP) -p 2222".
  • From a browser on your main machine, go to http://(Android device name or IP):8080. You will see many more log entries than usual, some prefixed with "debug(n)", with 1 <= n <= 3.
  • While logged onto your device (or while trying to log on), you will see a very large amount of debugging information entered into the activity log as well as on the browser display. This information can be used to sort out low-level OpenSSH operational issues.
  • To copy the log for analysis, you may:
    • Long press the SSHelper log display, then choose "Copy as Text" or "Copy as HTML". Then open a suitable Android application into which one may paste textual content, for example, an email.
    • Move to the browser activity log display described earlier (located on your local network at http://(Android device name or IP):8080), press browser "Refresh" to pick up the most recent log entries, use your mouse to click the browser log listing, then press Ctrl+A (select All), Ctrl+C (Copy), then move to a text editor and press Ctrl+V (Paste). The text editor should then have the most recent log entries.
    • For practical reasons having to do with avoiding Android slowdowns, the second of the above options includes a much higher volume of log information, so it's the preferred way to get a complete log.

These special debug modes are very useful in analyzing SSH server difficulties that might come up, especially those having to do with key negotiations and encryption. One drawback is that, for the "SSH Server Debug" modes, logons are limited (only one is permitted between server restarts), so it shouldn't be allowed to persist for more than a short time.

Android Device Bridge (ADB) and logcat

For general debugging and exploration of Android, not necessarily limited to SSHelper, users may want to acquire a minimal install of the Android Debug Bridge (ADB), a process described here for Windows machines. For Linux machines, after an hour spent trying to locate a simple minimal installation package, I'm giving up and recommending a full install of the Android SDK.

After ADB is installed and an Android device is tethered to your desktop machine by means of a USB cable, you can enable USB debugging on the device and issue some useful commands:

  • ADB shell opens a shell in the context of the Android device.
  • ADB logcat causes a verbose log to be printed to the console. It's rather difficult to interpret without syntax highlighting or any specified filtering.
  • A logcat log can be syntax-highlighted by installing my Python script logcatcolor.py (pretty listing | plain text) and using it like this:
    $ adb logcat -v time *:I | (path)/logcatcolor.py


  • Here's a nearly identical routine written as a Bash shell script (much slower than the Python version): logcatcolor.sh (pretty listing | plain text). It's used exactly the same way:
    $ adb logcat -v time *:I | (path)/logcatcolor.sh
  • Here are examples of logs with and without syntax highlighting:

  • The above logcat example shows some additional options:

    • -v time is one of a number of display options, one I find indispensable — it includes a time with each log entry.
    • The left-hand part of *:I may include a filter expression that can be used to limit the log display to entries having specific content, a topic discussed in depth here.
    • The right-hand part of *:I is a letter category, one of Verbose, Debug, Info, Warn, Error and Fatal.
Pay it forward

SSHelper is free, it doesn't show ads, it's not crippleware or shareware, and I don't want your money. I just thought I would make that clear up front.

Years ago, in connection with my software development activities, I came up with an idea I called CareWare. But as the years went by I became somewhat disenchanted with the original idea and I now find it somewhat overheated (even though it's my idea).

So lately, moved as I am by conflicting forces — on one hand wanting to change the world, but on the other not wanting to even appear disrespectful of other people's choices — I've decided to just say pay it forward if you want. But there's no obligation to do that.

Copyright, source, version history

SSHelper is Copyright 2014, P. lutus and is released under the GPL.

SSHelper uses code from the following projects:

Here is a source archive for SSHelper, organized as an Eclipse Android project.

Version History (reverse chronological order)

  • 04.11.2014 Version 6.2. This version of SSHelper incorporates the fix for the heartbleed bug in OpenSSL. After installing, to verify that your SSHelper version has the fix, issue this command: "ssh (device name or IP) ssh -V". The reply should be "OpenSSH_6.6p1, OpenSSL 1.0.1g 7 Apr 2014". Note the OpenSSL version 1.01g, which has the fix.
  • 04.05.2014 Version 6.1. Corrected a user-reported bug that prevented installation in some circumstances.
  • 04.05.2014 Version 6.0. Disabled debug logging to a log file inadvertently left enabled in recent changes.
  • 04.04.2014 Version 5.9. Updated to the most recent version of OpenSSH, which fixes some security issues.
  • 04.03.2014 Version 5.8. Added some safeguards against a user-reported NPE during installation.
  • 04.02.2014 Version 5.7. Further optimized the terminal emulator, changed the cross-compilation processor identity and recompiled all the native-code binaries to avoid a potential processor conflict.
  • 04.01.2014 Version 5.6. Rewrote the terminal emulator for greater speed and responsiveness. The emulator still won't work on Samsung devices with Knox installed, and a desktop shell session is more effective, but the emulator is handy at times.
  • 03.30.2014 Version 5.5. Fixed configuration issue that prevented SSH compression from working.
  • 03.27.2014 Version 5.4. Arranged to apply the device's user-defined name for the Zeroconf network name if it's been defined.
  • 03.27.2014 Version 5.3. Revised the Zeroconf / MDNS code block to allow local-network recognition using the (device name).local addressing convention.
  • 03.24.2014 Version 5.2. Changed the naming convention for Zeroconf/Bonjour hostnames to conform to prevailing standards.
  • 03.03.2014 Version 5.1. Recoded a number of controls and methods to accommodate small displays like cell phones.
  • 02.17.2014 Version 5.0. Assigned the Zeroconf devices more distinct names (the device model name) to help in sorting out devices on busy networks.
  • 11.17.2013 Version 4.9. Gave Busybox the ability to translate Internet names into addresses (i.e. DNS). This means network-aware Busybox applets (i.e. telnet, wget, etc.) will accept host names and "do the right thing." Improved the app's overall performance through fine tuning.
  • 11.13.2013 Version 4.8. Fixed an error in the path assignment sequence that would have prevented a remote "scp" invocation from functioning correctly.
  • 11.12.2013 Version 4.7. Changed the shell launch code in response to user reports, with the aim of making SSHelper function with as many Android devices and OS versions as possible.
  • 11.12.2013 Version 4.6. Revised the user/superuser launch code in response to user reports, optimized the HTTP server to run faster so log displays don't flicker, changed the default search path to accommodate a wider array of Android devices.
  • 11.11.2013 Version 4.5. Improved the default shell environment and how it's launched. Added more environment variables to tune shell sessions.
  • 11.11.2013 Version 4.4. Fixed a reported logon bug, rewrote the HTTP server for more responsiveness, cleaned up other small bugs.
  • 11.10.2013 Version 4.3. Remapped the binary directory, changed the superuser setup, decided to use the Busybox shell (color-coded directory listings etc.), arranged that the configuration file ".profile" is always read in both user and superuser modes.
  • 11.09.2013 Version 4.2. Recoded the superuser launch routine for greater compatibility with different rooting packages.
  • 11.09.2013 Version 4.1. Added color display to the activity log, added an option to copy the log to the system clipboard, increased the number of explanatory dialogs, recoded the superuser launch procedure.
  • 11.08.2013 Version 4.0. Revised the logging facility to show either the SSH server events or the Android "logcat" output, both with selectable levels of detail.
  • 11.07.2013 Version 3.9. Refactored some code to accommodate different root packages as part of the superuser feature.
  • 11.06.2013 Version 3.8. Made small changes to accommodate superuser access on a rooted Android device. These changes have no effect on normal activities, but to apply the changes, users need to fully uninstall and reinstall SSHelper.
  • 11.05.2013 Version 3.7. Fixed the Zeroconf registration code to avoid multiple registrations.
  • 11.05.2013 Version 3.6. Recoded the full-shutdown option, which had stopped working during recent changes.
  • 11.05.2013 Version 3.5. Fixed an error in ssh-keygen that would have prevented automatic key generation.
  • 11.05.2013 Version 3.4. Cleaned up the background service code so only selected servers run at boot without an activity present, changed some default values.
  • 11.04.2013 Version 3.3. Finally located and fixed a bug that prevented public-key (passwordless) logons for some users. To get this change, users must fully uninstall, then reinstall, SSHelper.
  • 11.03.2013 Version 3.2. Modified installation code to address a resource overuse, changed default configuration to deal with reported problems with public-key logins.
  • 11.03.2013 Version 3.1. Improved the log web page, cleaned up a few small bugs, added an option to enable/disable strict modes in the SSH login protocol, to allow imperfectly configured clients to use public-key (passwordless) logins.
  • 11.01.2013 Version 3.0. Added a special debugging mode that provides extra data useful for analyzing server problems. This change has no effect on normal SSHelper operations but, when activated, is very useful in analyzing Secure Shell server/client problems.
  • 10.31.2013 Version 2.9. Fixed an error condition that could result in an ANR (Application Not Responding), restored the status notification's ability to launch the activity.
  • 10.30.2013 Version 2.8. Added ECDSA key generation to the setup procedure. SSHelper now creates host RSA, DSA and ECDSA keys to maximize operational flexibility.
  • 10.27.2013 Version 2.7. Decided to generate both types of SSH keys during installation — DSA and the older RSA type as well. Some users may expect to be able to use RSA out of the box, and my not generating this key type in the new SSHelper version was an oversight.
  • 10.27.2013 Version 2.6. Added more error traps after testing revealed some unmanaged border conditions.
  • 10.27.2013 Version 2.5. Coded some more precautionary error traps based on reports from the rather slick automated Google bug reporting system.
  • 10.27.2013 Version 2.4. Resolved a number of user-reported issues — dead-end back button on the Help tab, agent forwarding, support for compression and a few others.
  • 10.27.2013 Version 2.3. Rewrote the HTTP log display service, fixed a keyboard bug in the terminal applet.
  • 10.27.2013 Version 2.2. Cleaned up some minor server/client issues, added an HTTP server for remote log display.
  • 10.26.2013 Version 2.1. Solved a secure-login environment path problem.
  • 10.22.2013 Version 2.0. Major upgrade: 1. Replaced Dropbear with OpenSSH for much better reliability and consistency with accepted secure shell standards. 2. Improved the built-in terminal, which now provides history and line editing. 3. Added a Zeroconf broadcast, so SSHelper tells your local network its address and what services it has to offer.
  • 01.08.2013 Version 1.8. On user request, added Android WRITE_MEDIA_STORAGE permission to the set of permissions, even though this doesn't seem to work on a non-rooted Android device at present, in the hope that someone in Android development will get the message and enable this permission.
  • 04.21.2012 Version 1.7. Fixed a problem with the start-at-boot option.
  • 02.23.2012 Version 1.6. Fixed several bugs that crept in after the change to Android ICS, all of which revolved around AsyncTask threads, which are becoming increasingly unreliable, so changed to ordinary threads in some cases.
  • 11.16.2011 Version 1.5. Fixed a bug in the service initialization code.
  • 11.15.2011 Version 1.4. Revised the service code again, for greater robustness.
  • 11.15.2011 Version 1.3. Revised the background service launch method to keep Android from stopping it.
  • 11.12.2011 Version 1.2. Rewrote code to avoid leaking the Text-To-Speech resource.
  • 11.02.2011 Version 1.1. Released updated package after realizing I only support Android API 13 and above.
  • 11.01.2011 Version 1.0. Initial Public Release.

Home | Android |     Share This Page