I have successfully connected to github through ssh as the following commands demonstrate.
Admins-MacBook-Pro-4:.ssh bobsmith$ ssh -T email@example.com Warning: Permanently added the RSA host key for IP address '220.127.116.11' to the list of known hosts. Hi bobsmith76! You've successfully authenticated, but GitHub does not provide shell access.
However when I cd to the folder which has the .git files and run
git push origin master
remote: Support for password authentication was removed on August 13, 2021. Please use a personal access token instead. remote: Please see https://github.blog/2020-12-15-token-authentication-requirements-for-git-operations/ for more information. fatal: Authentication failed for 'https://github.com/bobsmith/git_learn.git/'
When I vist
I don’t really see anything very understabable about what I am supposed to do. I do see
will require the use of token-based authentication, such as a personal access token (for developers) or an OAuth or GitHub App installation token (for integrators) for all authenticated Git operations on GitHub.com. You may also continue using SSH keys where you prefer.
But I thought I had successfully used an ssh key.