Private key encryption

Leonid Bloch lb at
Sun Jul 28 23:19:55 WST 2013

Since Dropbear does not support encrypted keys, I was wondering if using
gpg to encrypt the key could be a solution. I mean some script like that:

KEY=$(gpg < key.gpg)
ssh -i $KEY server "some_command_to_server"

When encrypted key ("key.gpg") is generated using:
gpg -c key

So is this a secure/viable solution, or I'm totally missing something?

-------------- next part --------------
An HTML attachment was scrubbed...

More information about the Dropbear mailing list