r/ssh•
jefazo92

How can I save externally generated ssh keys on Windows?

I imagine there must be a tutorial covering this but so far I have not found it. I am having a hard time trying to save a key pair I created on another machine to my current Windows PC and make it work. I have tried to save the public and privage keys in C:\Users\myUser.ssh as id_key.pub and id_key.

id_key.pub is is configured as: ssh-key "public key" (without the " " and the key in one line.

id_key is configured as:

-----BEGIN OPEN SSH PRIVATE KEY-----

"private key" (without the " ")

-----END OPEN SSH PRIVATE KEY-----

Do I need to edit the known_hosts file or do anything else to successfully stablish an SSH connection to another local machine I want to connect to?

Posted Jul 29, 2024, 7:35 AM UTC

111
Loading comments…