So I’m testing gitea using the test instance try (dot) gitea (dot) io and pushing via the ssh link doesn’t seem to work for me. I tried generating a new key and updating the .pub entry in my settings and using the new key, but each time I go “git push gitea (firstname.lastname@example.org:trevdev/dotfiles.git) master” I get:
email@example.com: Permission denied (publickey). fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.
Steps for SSH key generation:
ssh-keygen -t rsa -b 4096 -C "firstname.lastname@example.org" (name ssh key 'gitea', no password) cat gitea.pub | xclip -sel clip
Then I go to my dashboard in gitea into User Dropdown > Settings > SSH/GPG Keys > Add Keys
Key name “gitea-test”
(paste from clipboard)
Click “Add Key”
Does pushing via SSH on “Try Gitea” work? Https works fine but of course I have to provide my email & password every time. I want to be sure before I giddy up and deploy my own instance.