Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why is GPG agent forwarding not enough to get SSH keys working on the remote? #470

Open
mainrs opened this issue Jan 2, 2025 · 0 comments

Comments

@mainrs
Copy link

mainrs commented Jan 2, 2025

Maybe I am misunderstanding something. My understanding is that GPG agent forward would be enough to get both dec/enc/sig functionality working on the remote machine.

Since the SSH key is derived from the GPG key, I don't see why the remote machine has no access to the SSH keys. Even importing them manually on the remote using gpg --export-ssh-key $KEYID does not work. I get an error trying to load the key that says Load key <path>: error in libcrypto. I don't really understand why to be honest.

Thanks for helping me!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant