Issue
I have a Virtualbox VM with Ubuntu server running with networking set to bridged.
I've installed git, initialized a repo, added my key to my github account, and ran ssh -T [email protected]
all with no errors.
My problem comes when I try to actually pull a repo. No matter what repo I attempt to pull, I get the error Permission denied (publickey). fatal: The remote end hung up unexpectedly
So, any tips on getting this working?
Thanks.
Solution
I've found a workaround 'fix':
The problem seems to be trying to pull in 'Bridged' mode in Virtualbox. If I switch networking to NAT I can successfully pull, then I switch back to Bridged to work locally, then back to NAT when it's time to push.
It's not the most convenient fix, but it works for now. If anyone has a suggestion to make this better, I'm all ears.
Answered By - Samsquanch Answer Checked By - David Marino (WPSolving Volunteer)