Hey y’all… I’m facing an weird error: I finished the setup and everything work fine… I created my user, and an repository, cloned using ssh… but when I try to push my code, ask for gitea
password:
$ git push -u origin main
(gitea@192.168.23) Password:
I already added my ssh key on my user… and when I got to the authorized_keys
gitea user, I see an command line there, not my user key:
$ cat /home/gitea/.ssh/authorized_keys
# gitea public key
command="/usr/bin/gitea --config=/etc/gitea/app.ini serv key-1",no-port-forwarding,no-X11-forwarding,no-agent-forwarding,no-pty,no-user-rc,restrict ssh-rsa AAAAbbbbbCCCCC=
Appears gitea works fine in the part of including users keys on gitea authorized_keys, but it’s including the command line too…
p.s.: I’m using the default ssh server not the gitea “ssh server”
it’s a bad configuration or an bug?
thanks for all!