github以外のgitホスティングサービスを使いたい -> 使えなかった

privateなgitリポジトリが欲しかったのでググッたら最近は結構無料であるのね。
いい時代になったもんだ。とりあえず二つのサービスを試してみた。

の二つ。githubが使えてるんだから余裕で設定できるだろうと思っていたのが甘かったのかどちらも未だに使えてない。
以下に一応やったことをメモしておく。

unfuddleでハマる

http://blog.k1kuch1.com/?p=154 を参考にして登録を進める。
Repository TypeはGitを選択

Authentication top

Unfuddle offers you secure, direct access to your Git repositories over SSH.

Unfuddle will authenticate all access to your repositories using a public key cryptography over SSH. As such, you must first create a keypair locally on your machine and paste the contents of your public key into your "Personal Settings". For more information on how to generate a public key, please see Creating an SSH Keypair.

という説明に従って'Personal Settings'からgithubと同様にsshの公開鍵を登録。

$ mkdir /path/to/repository
$ cd /path/to/repository
$ git init
$ git remote add unfuddle git@subdomain.unfuddle.com:subdomain/abbreviation.git
$ git-config remote.unfuddle.push refs/heads/master:refs/heads/master

で、最後に

$ git push unfuddle master

すると

git push unfuddle master
The authenticity of host 'maedana.unfuddle.com (72.32.215.67)' can't be established.
RSA key fingerprint is a6:74:33:36:95:31:6e:a6:d7:71:87:b8:3c:38:e2:60.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'maedana.unfuddle.com,72.32.215.67' (RSA) to the list of known hosts.
Permission denied (publickey).
fatal: The remote end hung up unexpectedly

となってしまう。公開鍵は何度確認してもちゃんと登録されてるんだけど…どうしてもわからないので諦めてassembla使うことに。

assemblaでハマる

unfuddleと似たような手順を経てgit pushするとこっちは

git push origin master
The authenticity of host 'git.assembla.com (209.62.65.66)' can't be established.
RSA key fingerprint is 58:24:fc:ff:4c:c7:9d:eb:2f:a9:a4:f1:9f:3b:45:90.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'git.assembla.com,209.62.65.66' (RSA) to the list of known hosts.
git@git.assembla.com's password:

となってパスフレーズではなく、パスワードを聞かれてしまう。

We do not use password authentication for git, but ssh keys, you should upload your public ssh key to user/profile, then space owner should synchronize ssh keys. Now only space owners can push to git repository.

http://www.assembla.com/flows/show/aGe6O8_oWr3lJWabIlDkbG

とあったので[Trac/Git]タブの中にある'synchronize team ssh keys'というボタンも押したけど結果は変わらず。
Add more ssh keysというリンクから別の鍵登録してから'synchronize team ssh keys'というボタンを押してみても結果は変わらず。
ssh絡みの問題なのは間違いないと思うんだけど…。何度確認してもちゃんと公開鍵は登録してあるんだよなぁ…。

他に試したこと
  • ssh鍵自体を作り直しても駄目だった。
  • .ssh/configを記述してみても駄目だった。

これだけで半日くらい潰して結局解決せず。大人しくsubversionで我慢しとけということか。
とりあえずこれ以上粘っても仕方ないのでいったん諦める。