SSH Client on Nokia 6820


SSH Client on Nokia 6820

I successfully installed MidpSSH lite-ssh1-midp1-62k on Nokia 6820a and connected to an SSH Server.

The phone, Nokia 6820a is a Series 40 MIDP 1.0 phone with a small querty keyboard. 6820 is the one with blue background on some keys, but these instructions likely work on other Nokias too. Exact specs of the phone are in the end of the message.

Light SSH 1 only version of MidpSSH was installed: MidpSSH 1.4.6 (stable version), SSH1 Lite Build (SSH1 only, reduced functionality).

SSH server I connected is probably insignificant, but it was OpenSSH on Red Hat Linux.

I used 6820 built-in browser to surf to “http://xk72.com/wap“. First tries to install the software failed, because “Application too big” and “Memory full”, but this was fixed by choosing a version whose jar is smaller than 63 kB. I successfully downloaded the ssh1-lite-midp1 version by clicking the link. Phone asked permission, stored it to “Collections”, asked permission and run the program.

I entered my ssh account information under “Options: New”. It was annoying that by default, the first letter was capitalized, and I had to click shift to get small caps. Also, session settings save button is under options, and the default action is to lose settings – typing them twice was slightly annoying. Chose “Connect” and allowed program to access network.

At first, the MidpSSH just printed “Connecting to sshserver.example.com…” and did nothing. By reading a report by “Alan”, I assumed this to be a GPRS connection settings issue. I returned to main menu with red button. Changed “Menu: 9 Services: 5 Settings: 1 Connection settings: 1 Active service settings” from “Sonera WAP” to “Sonera Internet”. You probably have different provider, but you should choose non-WAP settings that don’t use a proxy.

I run MidpSSH again (Menu: 8 Applications: 2 Collection: 1 Select Application: MidpSSH). Connected again (Sessions: example.com: Connect; Allow network access: Yes). GPRS connection was activated automatically and it connected in seconds (”Connecting to sshserver.example.com…” was followed by an “OK” immidiately.)

Clicked Input and typed a command “ls”. By default, first letter was capitalized “Ls”, which does not work, so typing a command must start with clicking shift. Commands worked fine, and it was nice being able to type the whole command locally, then send it to server. Logged off with Input: “exit”.

This program is great. SSH client is the program I have always wanted to have in my phone.

Ideas for improvement: – Put wap link for direct Download on top of page – Disable capitalization of first letter when inputting commands – Compile an SSH2 only version in under 63 kB (if technically possible) – Maybe have a scrollable list of commands (ls, pwd..) with possiblity to add own commands – When editing a session, make save the default action

Thanks for MidpSSH, Karl! – Tero Karvinen http://iki.fi/karvinen

Specs and links:

“Alan” 2005 : SSH on the Nokia 6820 All the important 6820 specific tricks for MidpSSH http://bleaklow.com/blog/archive/000138.html

Nokia: Nokia 6820 specifications Operating System: Nokia OS Developer Platform: Series 40 Developer Platform 1.0 Java Technology: CLDC 1.0, Wireless Messaging API (JSR-120), MIDP 1.0, Nokia UI API Browser: WAP 2.0, XHTML over TCP/IP Screen Display: Color Depth: 12 bit Resolution: 128 x 128 Memory: Heap size: 225 KB Shared Memory for Storage: 3 MB Max JAR Size: 63 KB Network Data Support: HSCSD, CSD, EGPRS, GPRS PC Connectivity: Bluetooth, Infrared, USB http://www.forum.nokia.com/main/0,,018-2077,00.html?model=6820


Posted in Old Site | Tagged , | Comments Off on SSH Client on Nokia 6820

Comments are closed.