Creating New SSH Key #139616
-
Select Topic AreaQuestion BodyI can't push from an already setup repo and am required to create a new SSH Key. I've tried this with the id_rsa as well as ed25519. the error is: Key is invalid. You must supply a key in OpenSSH public key format. Please help. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
maybe you are using the wrong key |
Beta Was this translation helpful? Give feedback.
-
Hi @michihodges , You have to add to the GitHub ssh-agent your public key inside the For more information on how to generate and add an ssh key to GitHub, take a look at the docs. Alternatively you can do |
Beta Was this translation helpful? Give feedback.
Hi @michihodges ,
You have to add to the GitHub ssh-agent your public key inside the
.pub
file normally stored inC:\Users\user\.ssh
for Windows users, it's a one-row string that normally starts withssh-ed25519
.For more information on how to generate and add an ssh key to GitHub, take a look at the docs.
Alternatively you can do
git
operations withHTTPS
by generating aPersonal Access Token
and use it as a password.