How to make a verbose SSH connection with GIT?

Article ID:235185927
1 minute readKnowledge base

Issue

  • We have some issues connecting to a GIT repository when use SSH connection but it is not possible to determine the issue.

  • We want to see all processes when connect to GIT by SSH.

Environment

  • CloudBees Jenkins Enterprise (CJE)

  • Jenkins

  • Git Client Plugin

Resolution

You could add a parameter or a environment variable named GIT_SSH_COMMAND with value "ssh -vvv" this will tell GIT to show all messages about connection.