- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Fortinet blocking git
We have been working with git for years, two months ago we noticed that were not been able to use the git commands anymore:
git pull
git@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
In the beginning we tought the problem were the credentials, after many tests we realized that it must be something in the firewall, because:
- Inside our LAN covered by the Fortinet Firewall, we get this error
- Inside out LAN covered by the firewall setting a rule ACCEPT ALL (all open), same error
- Using git inside the WSL installed on the same machines, works
- Using a WIFI not covered by the firewall, works
- Using the tethering of a random phone, works
- Using a LAN not covered by the firewall, works
We tested different git versions: 2.41.0.windows.3, 2.32.0.windows.2, 2.33.0.windows.2 and we got the same results.
We don't know what further tests can be done in order to find the problem and can't find any log entry.
Any suggestions would be highly appreciated
Solved! Go to Solution.
- Labels:
-
FortiGate
-
FortiGuard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for all for the answers, did not reply because I was not able to login to the forum, got 401.
Yesterday we had been able to fix it, the problem was not the firewall, but a custom Home Folder set in Active Directory. Because of this, the ssh directory was not seen by git and so no key could be sent on the request. Removing it from the active directory and rebooting the pc solved the problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Does the relevant firewall policy have deep-inspection applied (cert- or full-)? If yes, check if it has "SSH deep scan" enabled. If yes, try disabling it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Please check this KB article and try to identify why the firewall is blocking the traffic. Specially debug flow.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for all for the answers, did not reply because I was not able to login to the forum, got 401.
Yesterday we had been able to fix it, the problem was not the firewall, but a custom Home Folder set in Active Directory. Because of this, the ssh directory was not seen by git and so no key could be sent on the request. Removing it from the active directory and rebooting the pc solved the problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Great!!
