Invalid public ssh key
Got it. The public key should look like this:
ssh-rsa *public key* [email protected]
That is:
ssh-rsa<space><public key ending with ==><space><email address>
In Linux,after executing the above command,(xyz.pub) file will be generated in the directory you are working on. Then if you do a " cat xyz.pub ", you will get your public key which has "ssh-rsa" in the beginning. Now,you need to copy paste the displayed text in your GitHub Account. Hope this will probably solve the issue. And in windows,I think you should edit the file in NotePad++