I am trying to connect to GitHub Enterprise from Jenkins but I am facing a connection issue saying -
Failed to connect to repository : Command "/usr/bin/git ls-remote -h git@xxx/yyy.git HEAD" returned status code 128:
stdout:
stderr: ERROR: Your account is suspended. Please check with your installation administrator.
fatal: The remote end hung up unexpectedly
The funny thing is the account that I am using is able to login to GitHub and is not suspended. I have tried using both SSH and password to no avail. Any lead will be appreciated.
This was a problem with expired SSH keys. I had to regenerate it and it started working again.