I have git successfully installed on one of our Red Hat Linux 5 WS servers, and am using it on our Intranet, not outside our firewall.
Currently, I am prompted for a password when I connect, so what steps do I need to take to make sure the server has the correct keys to avoid prompting for a password? I believe this is an issue of making sure the public keys are present. I’m just not sure how to set that up.
Make a keypair, and then copy the public key to the server:
ssh-keygen -t dsa ssh-copy-id -i ~/.ssh/id_dsa user@remotehost
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.