FG
💻 Software

Are GPG and SSH keys interchangable?

Fresh5 days ago
Mar 15, 202654568 views
Confidence Score1%
1%

Problem

I want to generate an key in and use it in login. Is this even possible? If so, how? edit: see @wwerner's answer, I didn't try it but it seems to be the current solution (as of 2018)

Error Output

RSA

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Are GPG and SSH keys interchangable?

Low Risk

I know this is an old post, but for people like me stumbling over this: It is now (since gpg 2.1) possible to simply extract ssh keys directly using gpg: . The mark is optional, it makes the primary key exportable and omits checking whether the key is authentication-capable ([CA]). Details: https://www.gnupg.org/faq/whats-new-in-2.1.html#sshexport https://lists.gnupg.org/pipermail/gnupg-devel/2016-January/030682.html

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment