How to use fisheye with ssh key authentication... I have tried several ways... and all of them failed.
https://confluence.atlassian.com/display/FISHEYE/Authentication#Authentication-GeneratekeypairforSSH
Unfortunatelly this is not a straight-forward description and it's a bit confusing.
In the end I would like to have something like bitbucket or github (upload your public key and you're done). I know it isn't currently possible. There are two options:
- Upload private key (you mean public key)...
- Generate keypair and it prints out pubkey (but it probably should print private key)...
And .git/config as it follows
[remote "origin"]
url = git@fisheye:/git/myproject.git
fetch = +refs/heads/*:refs/remotes/origin/*
and .ssh/config
Host fisheye
Hostname example.com
PubkeyAuthentication yes
IdentitiesOnly yes
IdentityFile ~/.ssh/fisheye.pub