Windows CE 2.0 and OpenSSH
I’ve found a [good howto][sshwin20howto] on installing OpenSSH on Windows CE 2.0. The only problem with it, is that you require an ActiveSync partnership with the device in order to insert the nessesary registry keys. I’ve found a way to install OpenSSH *without* needing any ActiveSync partership. I did this on a HP 320LX H/PC (which runs WinCE 2.0 on SH3).
To do this, install [Registry Explorer][rexplrce11] on your device. If you don’t want to boot Windows (or can’t), you can use [this copy of the files][rexplrce11tbz2], which has the CAB files you’ll need to install it to your device. You can then [follow the HOWTO][sshwin20howto], then use Registry Explorer to add in the registry entries. Registry Explorer uses a GUI similar to the standard Win32 Registry Editor.
For convienience, I’ve created [a copy of my registry entries][unixreg], which you can import using the Registry Explorer software. Be aware that I store my UNIX root in `\Storage Card\unix`, due to limited internal memory. I’ve found that SSH will still try to store it’s `known_hosts` file in the `\unix` directory, so you’ll need to create that directory anyway (just leave it empty - don’t copy your UNIX root into it). The space used by the `known_hosts` file is minimal. My registry dump also uses the default username of “michael”, which you’ll need to change so it matches what you wrote in your `/etc/passwd` file.
One final thing is that ncurses apps (like irssi) seem to have some problems with the terminal type being set to ‘wince’. I’m presently working on getting a working terminfo file for Linux systems, so that they can properly handle OpenSSH on WinCE.
[sshwin20howto]: http://www.eskimo.com/%7Ewebguy/service/openssh.html [rexplrce11tbz2]: /static/wince/rexplrce-1.1.tar.bz2 [unixreg]: /static/wince/unix.reg [rexplrce11]: http://www.tucows.com/preview/32379