Indigo
February 23, 2022, 9:26am
1
hello,
i am trying to upload some code to gitea but i an getting confused, every time i try to do the commands (shown bellow) it tells me to enter a password, i enter my account password but it doesnt work, is there any other passwords to use? i am new to gitea so i dont really know what i am doing.
if someone can help that would be excellent
thanks!
lunny
February 24, 2022, 6:28am
3
Please paste your Gitea server installation related information.
Indigo
February 24, 2022, 7:26am
4
what do you mean, where can i find that?
I’m guessing it’s asking for git
user’s password on the server that’s running Gitea. If you have shell access to the server, kindly try that password.
If it works, then it’s not the expected behavior. The contents of ~/.ssh/authorized_keys
in git
's home directory should give more clues.
1 Like
3301
November 18, 2024, 10:25pm
6
list current keys on system ls -al ~/.ssh
look for any of below and choose one
id_rsa.pub
id_ecdsa.pub
id_ed25519.pub
run cat ~/.ssh/id_ed25519.pub
copy the output except the user@system
then goto Sign In - Gitea: Git with a cup of tea
click add key
choose a title and paste the public key you copied earler
make sure you added the remote origin as ssh
now git push -u origin master