How to SSH from your Windows Mobile Smartphone

This tutorial will guide you through setting up and using MidpSSH, an open source (free) SSH and telnet client for Java-capable cellphones and other mobile devices.

ssh session in windows mobile

  1. First up – head over to the MidpSSH download page and downloading the latest stable version. You can also visit http://xk72.com/wap in your mobile browser and install it that way.
  2. During the installation if you get a “This MIDlet is not trusted” message, click Yes to install anyway.
  3. Once the installation has completed, MidpSSH will be listed in your Java Apps panel. Select it, then click it to launch. And by “click it” I mean use whatever button on your phone it is that opens files etc.
  4. You’ll be presented with the MidpSSH menu. Highlight Sessions and then click it.
  5. Click the Menu button, then select and click New
  6. Enter the appropriate information in each field. When you’re done, click Create.
  7. Back at the Sessions window, select and click your newly created connection.
  8. If you’re prompted with a ‘warning’ screen about network usage, click Yes.
  9. MidpSSH will now attempt to connect to your host.
  10. Assuming you provided the correct credentials etc, you’ll find yourself connected to your server and at a command prompt. You’ll also notice that the font is so small it’s almost unreadable. We’ll fix this later (unless you like squinting).
  11. To enter a command, click Input. Type in your command (in the example below, I’m using a simple ls to list the files in my home folder).
  12. Now click Menu then select and click Type.
  13. This will paste the ls command at the command prompt, but not actually execute it. Click Menu, scroll down to ENTER and click it.
  14. Now the ls command will be executed.

    For those paying close attention, yes, you could have skipped step #13 by selecting Enter instead of Type back in step #12.

  15. Another much faster way to enter commands is to setup Macros. To do so, click Menu then select and click Macros from the menu.
  16. Highlight the default macro set, click Menu and select Edit. Give it a new name (for example, I named my first set of macros common commands.
  17. Now “enter” your first group of macros by selecting its name and clicking. You’ll notice a rather empty screen. To create your first macro, click Menu and then New.
  18. Give your macro/command a name (optional but helpful). In the Value: field enter the command you want to execute. In my example I used the ps command with the aux options.

    In the Mode section you’ll need to decide if you want the command to execute as soon as you select it (Enter) or just be pasted at the command prompt (Type). When you’re done, click Create.

  19. Now select your new macro and click it.
  20. And it will be executed (again, the command will be run if you selected Enter or just pasted to the prompt if you selected Type).
  21. To disconnect, click Menu then Disconnect.
  22. Back at the main menu, scroll down to Settings and click it.
  23. Scroll down to Fonts and click it.
  24. From here you can increase the size of the font used….
  25. and alter the font colour and background colour.
  26. Below you’ll find a screenshot of an SSH session with the font slightly increased.
{ 9 comments… add one }
  • Steve Kamerman July 23, 2008, 5:32 am

    Wow – this is very cool! I’ve got it on my T-Mobile Shadow and it’s great for monitoring my servers. Who would have guessed that an SSH client would have been feasible on a 240×320 display :P.

  • Katie October 24, 2008, 11:53 am

    Running the MIDP 1.0 Full version (2.0 didn’t work for some reason) on my Pantech Duo – very useful, although the ability (and, for that matter, the desire) to read Apache logs from pretty much anywhere will probably do nothing good for my social life.

    Hey, I can’t help it if most people are less interesting than deprecation warnings.

  • poppabear November 30, 2008, 7:09 pm

    I don’t like it much to be honest.

  • Julia February 15, 2009, 9:54 am

    Sorry but this program has caused nothing but trouble!!!

    I have installed it as advised however it keeps giving me a error when I try to connect. It beeps and says Writer: java.io.IOException

    Can you please fix this ASAP because I need to connect to the uni server to get my assignment done.

    I look forward to your immediate response

  • Lol! February 27, 2009, 8:26 am

    LOL Julia, I look forward to your immediate response.

  • Excedio September 1, 2009, 12:32 pm

    Anyone else notice that the Motorola q(c cannot even download this? Any reason why?

  • Chivarao May 28, 2010, 3:37 pm

    Great program for my Smartphone.
    I got a huge display so no problem reading logs or reading anything…
    Works fine but is it safe?

  • Andres August 22, 2010, 5:31 pm

    Awesome! works perfectly on my ACE-Mobile Caracas II.
    keep up the nice work ;)

  • Siddharta December 17, 2010, 9:39 am

    A week ago I found this application, and now I have come to your website by looking for someone else who uses it also. I installed it on my LG C305 and works pretty good.

    Siddharta, in Mexico.

Leave a Comment