QUESTIONS
How can I add a new user to my git server?
What do I need to do to add a new git user via ssh keys?
LINKS Create SSH KeySet SSH KeyGit on the Serverssh-copy-idCreate SSH Key Create a ssh key for the new user.
Login on the remote server via ssh as root,
change to the user you want to use SSH f.e. {my-git} on the server and navigate the terminal to the .ssh directory
you@local:$sshroot@{server-adress}root@server:$su{my-git} Navigate to SSH
First, navigate the terminal to the user directory and then to the .ssh directory
{my-git}@server:$cd{my-git}@server:~$cd .ssh Add Key
Now add the public key from the ssh key with cat by changing the file authorized_keys{my-git}@server:~/.ssh$cat >> authorized_keys
After entering the cat command, cat will wait for some text input.
Paste the content of the public key with SHIFT + CTRL + V into the terminal.
CTRL + C exit.
{ssh-ed25519 KEYSTUFFKEYSTUFFKEYSTUFFF somename}APP | VERSION Linux/Ubuntu
RELATED TAGS server, remote, users
QUESTIONS
How can I add a new user to my git server?
What do I need to do to add a new git user via ssh keys?