I have been trying to import a private key into ConnectBot for Android.
The key I’m using is working fine when using Putty, but does not work for ConnectBot.
To make it work for ConnectBot, you need to have a OpenSSH version of this file.
Luckily one can also use PuTTYgen to create an OpenSSH key.
Puttygen
In Puttygen, do the following:
- Load the private key: [File] -> [Load Private Key] (*.ppk)
- Enter passphrase if applicable
- Goto: [Conversions] -> [Export OpenSSH key] and save