Hello, every time I try to enter my ssh key in my git bash when linking a repository, it enters the key into multiple lines of code and submits them all separately. For example 115SDASE, then Hhuiaw, and so on. how do I fix this issue.
Could you explain the steps you’re trying to do a bit more? An SSH key is usually not something you’d need to type.
$ git push -u origin main
firstname.lastname@example.org: Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
This is the error I am getting when I try to push. and on the off chance that it works, it always says that my ssh key is wrong.
I got it to work, I had to generate a new ssh key and link it with my account. For some reason the old key wasn’t working.