A SSH and Telnet Client for Firefox OS.
git clone https://github.com/chuckwagoncomputing/fxos-firemote.git
cd fxos-firemote/js
git clone https://github.com/chuckwagoncomputing/paramikojs.git
ssh-keygen -t rsa
If you imported keys to Firemote manually, the exported key will be exactly as you imported it.
If you used Firemote to generate keys, keep on reading.
Firemote generates RSA keys in PEM/PKCS8 format, so we need to convert the key to the standard OpenSSH public key format.
ssh-keygen -i -m PKCS8 -f <(sed -e 's/./&\n/418' -e 's/./&\n/26' <file name> | fold -w 64)