Change to git+ssh submodules has broken brew --HEAD installation
frankh opened this issue · 1 comments
Description
Prior to this commit fb56436 on a fresh system brew install --HEAD wix/brew/applesimutils
worked fine. Now it fails as it tries to connect via SSH, which requires a private key linked to a github account to be on the system.
Submodule 'homebrew-brew' (git@github.com:wix/homebrew-brew.git) registered for path 'homebrew-brew'
Cloning into '/Users/anka/Library/Caches/Homebrew/applesimutils--git/ObjCCLIInfra'...
Host key verification failed.
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
If you are describing an issue with brew install
:
- I've run
brew doctor
and fixed all issues
Steps to Reproduce
Steps to reproduce the behavior:
Run on a machine that doesn't have a github account's private key set up
Expected Behavior
A clear and concise description of what you expected to happen.
brew install --HEAD wix/brew/applesimutils should work
Screenshots
If applicable, add screenshots to help explain your problem.
Environment
- macOS version: 11.15.1
- Xcode version: 12.5.1
closing as i realised this is because i was specifying --HEAD
which might not be intended to work