I just joined gitlab, was formally on using GitHub, still is.
I created a new project on gitlab and I am trying to push but am getting a permission denied(public key) error.
This are the list of files I have in the ssh folder on my system:
- github_rsa,
- github_rsa.pub,
- known_hosts.
When I checked for how to generate an ssh key, I saw on gitlab that firstly I should type %userprofile%\.ssh\id_rsa.pub in command line to check if I have it and I typed it in exactly as %userprofile%\.ssh\id_rsa.pub, and I got this
C:\Users\slodd' is not recognized as an internal or external command operable program or batch file.
I don't know if I typed it in wrong by typing it in exactly because I actually just copied and pasted it on commandline.
I haven't worked with ssh keys before. I'm using a windows 10 system.