Skip to content

Troubleshooting Git Issues

saich edited this page Feb 14, 2011 · 2 revisions

SSH Test gives error: "Permission denied(publickey)"

  1. Make sure you generated an SSH key & added the public key contents in your github.com account page
  2. Make sure you are running 'ssh [email protected]' instead of 'ssh github.com'. This should most probably solve your problem.
  3. To debug more, use 'ssh -v [email protected]' or 'ssh -vvv [email protected]'

Unable to push to the server

  1. Run 'git remote -v' to look the remote URLs.
  2. Make sure you're either using 'ssh' or 'https'. 'git' protocol is read-only.
  3. In case you're using ssh, you must not add ssh:// to the URL. If you've added, you must remove it. You can use 'git remote rename' command to change the URL
Clone this wiki locally