Udgivet i

Putty private key in Android ConnectBot

To make it work for ConnectBot, you need to have a OpenSSH version of this file.
Luckily one can use PuTTYgen to create the OpenSSH key.

Puttygen

In Puttygen, do the following:

  1. Load the private key: [File] -> [Load Private Key] (*.ppk)
  2. Enter passphrase if applicable
  3. Goto: [Conversions] -> [Export OpenSSH key] and save

Android

Now find a way to get this OpenSSH key to your Android like /sdcard folder.

ConnectBot

In ConnectBot, do the following:

  1. [Menu] -> [Manage Pubkeys]
  2. [Menu] -> [Import]
  3. Choose the OpenSSH key from /sdcard
  4. Click the red lock icon to load the key into memory (lock icon turns green)
  5. Enter passphrase/password if applicable
  6. (Disconnect current session)
  7. Connect!