TeamCity Git VCS SSH connection with Custom Private Key throws JschException: Auth fail
In my case github key was incorrect. Key placed at ~/.ssh/<your_git_key> on Teamcity Server.
If you don't add public key in github,the exception"List remote refs failed: com.jcraft.jsch.JSchException: Auth fail" may occur.