Manage Git Users and Passwords

I used Git to store the project repository on a separate server. Currently, to push things into the repository after the transaction, I do

git push

and then I will be asked to enter the password for the account that I used to set up the Git repository on the remote server. Since there has been some time since I set up the repository, I am not sure how to remove this password (maybe a bad idea) or change / add user accounts for the Git repository. I'm sure this is something simple, but it's hard for me to find it. Is there any argument that I am missing for the push command?

Thank.

+3
source share
1

, SO, , .

, / SSH SSH. ssh-keygen ( ), ssh-copy-id user@host, . ( ssh-copy-id, .ssh/authorized_keys , , .) (, git ).

, - ssh-agent keychain, . . git SSH.

, gitolite, git. , repo git-shell, , git.

+5

Source: https://habr.com/ru/post/1780218/


All Articles