Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

When cloning a git repository via ssh I get the following error:

git clone ssh://user@iMacHost.local/Users/home/git/projects/Stock.git
Cloning into 'Stock'...
hdiutil: attach failed - No such file or directory
warning: You appear to have cloned an empty repository.

Logging in with ssh works. Has someone seen this:

hdiutil: attach failed - No such file or directory


share|improve this question
It appears that you're having issues with mounting a disk on OSX. Resolve those issues first before tacking git. –  tristan Mar 12 '13 at 16:16
Thanks for pointing me in the right direction. I guess I was to hasty with my question. ssh used .profile but git used .bashrc at the remote. –  powder366 Mar 12 '13 at 18:30

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.