I am trying to find a way to force git commands to go through VM.
Currently I have a windows 10 machine which does not have admin rights (company restricted) and I have virtualbox on it which runs Linux Mint as a VM.
Currently port 22 is blocked on our network and windows cannot do git commands over SSH. I did even tried forwarding SSH to use port 443 instead of 22 using the SSH config file but they have blocked that too.
Interestingly when I do git commands on VM it works all good and looks like somehow that's not blocked.
What I am trying to achieve is to somehow make all the git commands that I do in Windows (Git Bash) to go through VM and then VM to Bitbucket.
I hope this makes sense. So I would like to forward all traffic to bitbucket from windows to go to Linux Mint VM which is on the VirtualBox on same device and has static internal IP and then VM will forward it to where it should go which is Bitbucket.
Imagine doing the following git command:
git clone git@bitbucket.org:xxxx/yyyy.git
Does anyone have any idea how this can be achieved please?
Thank you guys in advance.