I followed instructions here to the letter https://docs.github.com/en/authentication/connecting-to-github-with-ssh
I run the following (my username entered at <myname>
)
git remote add origin git@github.com:<myname>/aws-bootstrap.git
I then get fatal: remote origin already exists.
Then I run git push -u origin master
ssh: Could not resolve hostname github: nodename nor servname provided, or not known
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
Any ideas what could be wrong?