First of all, all my machines are windows boxes. Git is msysgit 1.7.6 and ssh is CopSSH.
I have git repository on my server and 'git clone' command finishes successfully (git uses PuTTY's plink.exe with pageant.exe for key management):
$ git clone ssh://git@my-server:4837/test.git
Cloning into test...
warning: You appear to have cloned an empty repository.
When I try to configure TeamCity to do the same - it fails both with 'Default Private Key' and 'Private Key' options (I don't have passphrase on my key).
- Default Private Key
- TeamCity service is executed under my account and I have file c:\Users\idanilov\.ssh\config with these lines:
File private_key.ppk is located just beside it, at c:\Users\idanilov\.ssh\private_key.ppk
- Error message: "Test connection failed in ProjName :: BuildConfName. Connection test failed: org.eclipse.jgit.errors.NoRemoteRepositoryException: ssh://git@my-server:4837/test.git: not found."
- Private Key
- For simplicity I copied private_key.ppk to c:\private_key.ppk and set 'Private Key Path' to 'c:\private_key.ppk'.
- Error message: "Test connection failed in ProjName :: BuildConfName. Repository 'ssh://git@my-server:4837/test.git': Unable to load identity file: c:\private_key.ppk"
What could I try to get it up? What other information do you need to identify the problem?
Thanks for your time!