I have generated SSH keys for a new server installation according to the procedure outlined here. However, when I copy the contents of id_rsa.pub to my keys list on
id_rsa.pub
Someone suggested to use $ vi ~/.ssh/id_rsa.pub however it didn't work for me.
$ vi ~/.ssh/id_rsa.pub
So instead of that , I used $ cat ~/.ssh/id_rsa.pub command on windows machine to print out on the terminal then copy it.
$ cat ~/.ssh/id_rsa.pub