I’m new to both git and OSX, coming from Ubuntu and svn.
When I do a “git push” from the OSX terminal shell, I get the following warning:
folklore$ git push origin master
Warning: untrusted X11 forwarding setup failed: xauth key data not generated
Warning: No xauth data; using fake authentication data for X11 forwarding.
Counting objects: 7, done.
It seems to be working fine, its just a warning. But I dont’ understand it. Why is there any X11 in play here?
I’ve checked my .ssh/ keys and they are properly 600.
I guess I could just keep ignoring the warning, but I’d rather clean it up. And perhaps learn a bit.
This is an ssh issue, not a git issue. What you are seeing is not a git whine, it’s a valid warning from your ssh client. You should ensure that your ssh config doesn’t attempt X11 forwarding by default (git doesn’t need it), or at least turn it off for the host you are connecting to.
In your
~/.ssh/configtry:either in the host specific section or globally.