NEWS COMMUNITY STORE LABS GIT SIGN UP LOGIN LOGOUT ROKOJORI NEWSLETTER SIGN UP LOGIN LOGOUT NEWS COMMUNITY STORE LABS GIT TOGGLE FULLSCREEN VOLLBILD AN/AUS image/svg+xml image/svg+xml image/svg+xml SERVER SETUP
Create a git server
image/svg+xml image/svg+xml Create a git server image/svg+xml
quick-tip img:not(.icon) quick-tip img:not(.icon) quick-tip img[data-info] APP | VERSION
Linux/Ubuntu


RELATED TAGS
git, server, remote, repository


QUESTIONS
How can I host my own git server?
Can I overwrite the programs of CMD?
What do I need to create my own remote git repository?


LINKS
Set SSH key
Git on the Server
ssh-copy-id
    Login
Login on the remote server via ssh as root: you@local:$ssh -i {fullpath/to/public/key} root@{server-adress}

    Create GIT user
As root on the server, create a new user that is used to manage the git repo and switch to it:
root@server:$sudo adduser {my-git} root@server:$su {my-git}

    Initialize SSH
Switch to the user directory of the created user and create a directory for ssh and a file for keys
{my-git}@server:/root$cd {my-git}@server:~$mkdir .ssh && chmod 700 .ssh {my-git}@server:~$touch .ssh/authorized_keys && chmod 700 .ssh/authorized_keys
That is all. Now you are ready to add some users by adding their ssh keys.

APP | VERSION
Linux/Ubuntu


RELATED TAGS
git, server, remote, repository


QUESTIONS
How can I host my own git server?
Can I overwrite the programs of CMD?
What do I need to create my own remote git repository?


LINKS
Set SSH key
Git on the Server
ssh-copy-id
GIT Overview






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
We are using cookies on this site. Read more... Wir benutzen Cookies auf dieser Seite. Mehr lesen...