Local git repo + ssh keys

Handy little guide on setting up git repos locally.

If you’re you’ve got PasswordAuthentication set to no in your sshd_config, you need to disable it temporarily to copy the keys as the user you normally use using ssh-copy-id git@localhost.  Once the key is successfully copied, then you will no longer be prompted for a password..  and you can re-disable Password authentication.

Leave a Reply

Your email address will not be published. Required fields are marked *