Adding SSH Keys to an Account

Hello,

I’m doing a coding course through StackSkills/DevSlopes and I’m in the Git Basics section.
I’m on the video about setting up GitHub. It says to follow the instructions provided by GitHub on how to add an SSH key and nothing else really! I followed the GitHub intructions on how its done and I’ve created a key and verified it within Git Bash, but I cannot add it to my GitHub account. I get an error message saying ''Key is invalid. You must supply a key in OpenSSH public key format." Creating my key initially displayed a message stating a file location where my information and public key had been saved, followed by this:
"The key fingerprint is:
SHA256:/qOtl1pQNI9/iienZS5IN+LjSIDVzH0ACat00DK+tgw gmailaddress@gmail.com
The key’s randomart image is:
±–[RSA 4096]----+
| …o. o |
| o…=… o + |
| …o+ + . + . |
| …= o . |
| o… S . . |
|E o . .o.o. o |
| + . .o.++o* |
| o . .++=O |
| …=*+o. |
±—[SHA256]-----+
"
Can somebody please assist me?

Hi @farrellogara, you need to be adding the public portion of the key. When you create an SSH key, it should create two files, one ending with .pub. That’s the public key. You need to copy the contents of that file into GitHub. The other one you should keep secret.