'Vscode host verification key failed. Zscaler

Been searching several times to find the answer to this issue. Hope someone else has similar settings.

  1. I am using MacOS Big Sur. Vscode 1.61.2

  2. I am working remotely from office and laptop has zscaler installed.

  3. In Vscode terminal all git push/pull etc works fine with my id_rsa.

  4. Using inbuilt Vscode menu / icons doing the same thing all fail with host key verification failed.

  5. When using terminal inside or outside vscode, there is always a "warning: the RSA host key for <GitHub internal site> differs from the key for the IP address xxx.xx.xx.xx' Are you sure you want to continue?I have to enter yes, then git operation executes OK.

I believe above is due to zscaler app.

Q. Is the above prompt causing in-built vscode git calls to fail? Any way around it?

I'm pretty sure this basic inbuilt SCM works for everyone with remote repos.



Solution 1:[1]

I believe it is a zscaler making VPN less secure one solution at a time. Seeing you are not logging directly into your final host - it seems the RSA key is whatever host is playing as intermediary for the connection.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Mark Tremblay