I'm trying to do git remotes on my local network using avahi:
git clone ssh://josh@west.local:test.git
Git is complaining:
ssh: Could not resolve hostname west.local:: Name or service not known
Yet I can ssh to west.local
without problems. And regular lookups succeed:
$ host west.local
west.local has address 208.68.139.38
Host west.local not found: 3(NXDOMAIN)
In case it matters, I'm running Ubuntu 10.04, and west.local is an OS X machine using Bonjour.
How can I get git to talk to west.local, short of hard-coding something in /etc/resolv.conf
(which ruins the point of zeroconf)?