Hi folks, I'm trying to host
a git repository from my home OS X machine, and I'm stuck on the last step of cloning the repository from
a remote system. Here's what I've done so far:
On the OS X (10.6.6) machine (heretofore dubbed the "server") I created
a new admin user
Logged into the new user's account
Installed git
Created an empty git repository via "git init"
Turned on remote login
Set port mapping on my router (airport extreme) to send ssh traffic to the server
Added
a ".ssh" directory to the user's home directory
From the remote machine (also an OS X 10.6.6 machine), I sent that machine's public key to the server using scp and the login credentials of the user created in step 1
To test that the server would use the remote machine's public key, I ssh'd to the server using the username of the user created in step 1 and indeed was able to connect successfully without being asked for
a password
I installed git on the remote machine
From the remote machine I attempted to "git clone ssh://
[email protected]:myrepo" (where "user", "my.server.address", and "myrepo" are all replaced by the actual username, server address and repo folder name, respectively)
However, every time I try the command in step 11, I get asked to confirm the server's RSA fingerprint, then I'm asked for
a password, but the password for the user I set up for that machine never works.
Any advice on how to make this work would be greatly appreciated!