

#Unix on mac vs connect to server how to#
How to Compile ZXING Barcode Scanner App in Androi.I will cover how to do so in the future post. Note: If you are concerned with safety, you may want to disable password login and instead only allow public key authentication. You should now have a personal git server. $ git clone will need to enter the password for the server's git account, as if you are remote logging into it through ssh. To clone this repository from a client, you will need to run the following from the client The location of this repository in this case is /Users/git/Project.git, as you can see from pwd command above. This will create a bare Project repository on the server, which clients can clone, push to, and pull from. From the git account from the server or through ssh, run Let's assume that you will want to create a repository named Project. If you can successfully log into the account, then you are pretty much done.

Depending on your router or firewall configuration, the port number may differ. Note that here I am assuming that you are using the port 22 to access the server. Add the user git in the Allow access for field by clicking on the + button.įrom your client system, make sure that you can remote log into the server's git account. Next, you will need to allow ssh login for user git from client machines. Add a standard user whose full name and account name is git. You may need to click the Lock image to make any changes.Ĥ. Open up System Preferences -> Users & Groups.Ģ. Here, I will assume that the server IP address is 12.34.56.78.įirst, you will need to add a user named git, into which client machines will ssh into. In this tutorial, I will go over the instructions to setup a git server on Mac OS X.
