<div dir="ltr">Hi,<div>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:</div><div><br></div><div><font face="courier new, monospace">KEY=$(gpg < key.gpg)</font></div>
<div><font face="courier new, monospace">ssh -i $KEY server "some_command_to_server"</font></div><div><br></div><div>When encrypted key ("key.gpg") is generated using:</div><div><font face="courier new, monospace">gpg -c key</font></div>
<div><br></div><div>So is this a secure/viable solution, or I'm totally missing something?</div><div><br></div><div>Thanks,</div><div>Leonid.</div></div>