git@domain
already exists in my university network.
However, the Ubuntu 18.04 server that host git@domain
is very unstable.
So I wished to set up a Debian server and install with Git.
Can I use hostname other than git
to setup Git server?
It is necessary to create git
user account for Git server to work?
Because I read many guides[1][2][3], all of them ask to run adduser git
command.
It is recommended to create a dedicated account (for security reason as commented)
However, nothing in Git involves a specific user name.
And git@aserver can be seen as an SSH URL, which means there would not even be a "Git server", but simply an sshd (SSH daemon) listening for queries in order to access repositories owned by that account( be it named 'git
' or any other name)