Private and Public SSH Keys for Capistrano on Windows
If you’re deploying a Ruby on Rails application using Capistrano on Windows, and need SSH authentication, you might run into errors like:
connection failed for: xxx.xxx.xxx.xxx (OpenSSL::PKey::PKeyError: not a private key (C:\path\to\key))
or
connection failed for: xxx.xxx.xxx.xxx (OpenSSL::PKey::PKeyError: not a public key “C:\path\to\key.pub”)
This is because Capistrano (by default) does not like the keys generated by Putty. You [...]

