You are not logged in.
Hi,
I got strange issue. I generated private + public key pair and I want to force SSH use it. Strange thing is I can encrypt/ decrypt files, export keys using my passphrase but I can't add it using ssh-add or config file. SSH refuses to accept that key because of bad passphrase, but I'm pretty sure the passphrase is correct. Any idea what happens?
Thx,
Majzlik
Offline
I don't believe one can use a GPG key as an SSH key.
You can manage a key generated by ssh using https://wiki.archlinux.org/index.php/GnuPG#SSH_agent
Edit: Apparently I was wrong: http://budts.be/weblog/2012/08/ssh-auth … ur-pgp-key
Last edited by ewaller (2016-05-05 15:18:14)
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
I found that SSH agent, but it requires passphrase for key I'm trying to add and it still ends up with "bad passphrase" error.
I don't believe one can use a GPG key as an SSH key.
You can manage a key generated by ssh using https://wiki.archlinux.org/index.php/GnuPG#SSH_agentEdit: Apparently I was wrong: http://budts.be/weblog/2012/08/ssh-auth … ur-pgp-key
Offline