I'm setting up a new Ubuntu system (12.04.2 LTS) for Rails development and wanted to use an encrypted SSH private key as per this article. I can set up a standard ssh keypair using the instructions on GitHub and everything works fine, but when I follow the instructions in the first article I can no longer use ssh to log in. Instead, I get the error "Agent admitted failure to sign using the key." I've found a bug (can't post link b/c of low reputation, #328127) that might be related; I'm not being asked for my private key passphrase so the fact that I've modified the private key after creation could be the issue. Attempting to add the new key manually using ssh-add
only results in the error being returned twice. I'm not sure how to set $SSH_AUTH_SOCK
to zero, otherwise I would try that as well. Any help would be greatly appreciated, thanks!