PROJECTS NEWS STORE LABS GIT SIGN UP LOGIN LOGOUT ROKOJORI NEWSLETTER SIGN UP LOGIN LOGOUT PROJECTS NEWS STORE LABS GIT TOGGLE FULLSCREEN VOLLBILD AN/AUS image/svg+xml image/svg+xml image/svg+xml ADD USERS
Add ssh keys of users to access the git server
image/svg+xml image/svg+xml Add ssh keys of users to access the git server image/svg+xml
quick-tip img quick-tip img quick-tip img[data-info] APP | VERSION
Linux/Ubuntu


RELATED TAGS
git, server, remote, repository


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 Key Set SSH Key Git on the Server ssh-copy-id
Create SSH Key
Create a ssh key for the new user.

Login on the remote server via ssh as root, change to your git user on the server and navigate the terminal to the .ssh directory you@local:$ssh -i {fullpath/to/public/key} root@{server-adress} root@server:$su {my-git}
Navigate to SSH
First, navigate the terminal to the git 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
git, server, remote, repository


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 Key Set SSH Key Git on the Server ssh-copy-id
GIT Overview



SAY ALSO HI ON SOCIAL MEDIA


All social media brands are registrated trademarks and belong to their respective owners.




CONTACT IMPRINT TERMS OF USE PRIVACY © ROKOROJI ® 2021 rokojori.com
CONTACT IMPRINT TERMS OF USE PRIVACY © ROKOROJI ® 2021 rokojori.com