Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Cannot add SSH public key generated in Debian to Windows 10

If none of the specific sub-forums seem right for your thread, ask here.
Post Reply
Message
Author
diracsbracket
Posts: 3
Joined: 2018-09-08 05:43

Cannot add SSH public key generated in Debian to Windows 10

#1 Post by diracsbracket »

Hi.
I have a Debian 9.5 VM on which I generated an ssh key pair using

Code: Select all

ssh-keygen
I then copied the

Code: Select all

id_rsa.pub
file to my Windows 10 PC, on which I use
the Windows 10 built-in OpenSSH Client and OpenSSH Server.

After starting the

Code: Select all

ssh-agent
service, I try to add the

Code: Select all

id_rsa.pub 
file
using the

Code: Select all

ssh-add
command but it gives me the following error:

Code: Select all

Error loading key "id_rsa_debian.pub": invalid format
Any ideas why that does not work?
Thanks!

User avatar
bw123
Posts: 4015
Joined: 2011-05-09 06:02
Has thanked: 1 time
Been thanked: 28 times

Re: Cannot add SSH public key generated in Debian to Windows

#2 Post by bw123 »

no help searchng the interwebs?

https://duckduckgo.com/html/?q=ssh+Erro ... lid+format

I see you asked again in the right place. https://social.technet.microsoft.com/Fo ... rosecurity

Please link your posts if you're cross-posting on several forums, it keeps people from wasting their time trying to help you. There's no reason to do this. Some people consider it spam, some people think it rude, and many will just simply block your posts forever when they see that you do this.
https://en.wikipedia.org/wiki/Crossposting
resigned by AI ChatGPT

Post Reply