@peccul is peccu

(love peccu '(emacs lisp cat outdoor bicycle mac linux coffee))

Sequel Proで'Too many authentication failures'が出た時の対処法

OS XでSequel Proを使っているのだが、上記エラーが発生した。~/.ssh/に鍵を置きすぎているためですね。

~/.ssh/configにIdentitiesOnlyオプションの設定をして、その設定を読み込むように変更すると解決した。

  • Before

DB接続先設定 f:id:peccu:20150518140740p:plain

  • After

DB接続先設定 f:id:peccu:20150518140834p:plain ~/.ssh/configの内容

Host example
    Hostname       some.example.com
    User           someuser
    IdentityFile   ~/.ssh/id_rsa
    IdentitiesOnly  yes

本家はオプションを追加しないといけないことは把握してるが、特に動いてなさそう。~/.ssh/configで回避できてよかった

github.com