Among the settings are explicitly disabling agent forwarding, and using a git specific identity (SSH key).