Hello,
I have installed Gitea application from the App Store, created an account, a repository, added and verified my SSH key but when I try to follow these first steps:
touch README.md
git init
git checkout -b main
git add README.md
git commit -m "first commit"
git remote add origin ssh://git@umbrel.local:2222/USER/template_creation.git
git push -u origin main
I get this error:
$ git push -u origin main
git@umbrel.local: Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
I have also configured the .ssh/config file like this:
# ----------- Gitea :
Host gitea
HostName umbrel.local
User git
Port 2222
IdentityFile ~/.ssh/pl_ed25519_key
and the config --global
, like this:
# This is Git's per-user configuration file.
[user]
name = USER
email = USER@superdomain.ca
signingkey = /Users/localUser./.ssh/pl_ed25519_key.pub
And, when I try to connect to the ssh Gitea server, I have a success answer:
$ ssh -T gitea
Hi there, USER! You've successfully authenticated with the key named USER, but Gitea does not provide shell access.
If this is unexpected, please log in with password and setup Gitea under another user.
If you could help me forward on this topic, that would be great.
Thanks in advance.