<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 &lt; key.gpg)</font></div>
<div><font face="courier new, monospace">ssh -i $KEY server &quot;some_command_to_server&quot;</font></div><div><br></div><div>When encrypted key (&quot;key.gpg&quot;) 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&#39;m totally missing something?</div><div><br></div><div>Thanks,</div><div>Leonid.</div></div>