I am developing an Android application that utilizes RSYNC over SSH to sync up with a network folder. but im having problem with Key provided by puttygen ssh: string too long. I figured out that the ssh client installed in my device is a dropbear ssh client. For this to work, I have to convert PuttyGen PPK to a dropbear key.
Is there’s a way to convert PuttyGen PPK to Dropbear Key?
Can I convert it using my ubuntu machine? so that i will just copy the generated key to my android device?
Download the dropbear source to your machine, build it, and you should have access to
dropbearconvertwhich can convert keys formatted for OpenSSH to the dropbear format.Just doing a
apt-get install dropbearwill not install thedropbearconverttool.Edit:
Oh, and you can convert your PPK file to OpenSSH using
puttygen.exe.File menu -> Load your PPK file.
Conversions menu -> Export as OpenSSH file.