How to enable ssh so I can push from posit cloud project to github

I have a posit cloud project and I'd like to push my changes to a github account. As an example, I created a project on github and one on my posit cloud account and linked them with git as below.

echo "# Test02" >> README.md
git init
git add README.md
git commit -m "first commit"
git branch -M main
git remote add origin https://github.com/cramjaco/Test02.git
git push -u origin main

However I get the error message
remote: Support for password authentication was removed on August 13, 2021.

So it looks like I need to set up an ssh key. I know how to do this on my own computer -- for instance I'd follow these instructions. Generating a new SSH key and adding it to the ssh-agent - GitHub Docs
Are there instructions anywhere to do a similar link to either my posit cloud account or else to my individual project workspace? Thanks for any ideas

Hi cramjaco,

We have some instructions over here on how to work with posit.cloud and git/GitHub.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.