Using a GnuPG crypted RSA key for SSH

Matthias Apitz guru at unixarea.de
Wed May 1 16:32:54 CEST 2024


Hello,

I've on my Linux cellphone L5 my RSA key for SSH crypted with GnuPG (to
be exactly with an OpenPGP card in the phone). I can do fine:

$ gpg -d id_rsa.asc > id_rsa  # which asks for the PIN of the OpenPGP card
$ ssh www.unixarea.de
Enter passphrase for key '/home/guru/.ssh/id_rsa':
...
$ rm id_rsa # so it can't get lost of teft of the L5

Is there some other solution for GnuPG+SSH without writing the private
key id_rsa to a file? Or even better as well without the need of
entering the passphrase for the RSA key?

Thanks

	matthias

-- 
Matthias Apitz, ✉ guru at unixarea.de, http://www.unixarea.de/ +49-176-38902045
Public GnuPG key: http://www.unixarea.de/key.pub

I am not at war with Russia.
Я не воюю с Россией.
Ich bin nicht im Krieg mit Russland.



More information about the Gnupg-users mailing list