Old Meets New: Using Mutt on the Android G1
Securing Mutt with SSH on the Android G1
I've talked before about SSH for mobile devices, since then I've been using my G1 a lot. I prefer to access my email via Mutt and SSH (I know, a little old-school ...): I can do this via ConnectBot, but I wanted something a bit more direct. Happily, Lauren Weinstein has written an adapted version of ConnectBot to simplify this. (Uninstall your existing version before installing Lauren's version.)
Next, set up public key auth via the 'manage pubkeys' menu. Using a passphrase is more secure, but it also presents more hassle as you'll have to flip the keyboard out to enter it every so often. The 'copy public key' option on the long-click menu copies the public key to the clipboard, from where you can get it to ~/.ssh/authorised_keys2 on your server.
Then set up a single-touch shortcut ('Add'->'Shortcuts' menu) direct to the server from the home screen.
Finally, Lauren's kindly made available a set of keybindings to add to your ~/.muttrc, so you can do basic operations without opening the keyboard. Send ESC with two presses of the joystick, and Ctrl with one; you can also sent Ctrl-A n (to switch screens) with the picture button. These are the bits from it that I'm using so far:
macro index "" macro index "n" macro index ":set delete=yesn:set delete=ask-yesn" macro index "" macro pager "" macro pager "n" macro pager ":set delete=yesn:set delete=ask-yesn" macro pager ""
All incredibly useful! Many thanks to Lauren for the hard work on this.
Article courtesy of Serverwatch
- 1Linux Top 3: GNOME 3.12 and New Betas for Ubuntu 14.04 and OpenMandriva Lx 2014.0
- 2Linux Top 3: Linus Lashes out, Linux 3.14 Gets PIE and Ubuntu One is Done.
- 3Linux Top 3: Ubuntu 14.04, Debian Gives Squeeze More Life and Red Hat Goes Atomic
- 4Linux Top 3: Linux 3.11, Kubuntu Goes Commercial
- 5Linux Top 3: RHEL 6.5, Debian 7.2 and EOL for Linux 3.0.x