Hello,
Recently, I setup Webistrano to help manage our Rails application projects and deployments. I'm running into some problems deploying to our web/app & db hosts. We have restricted sshd (for corporate security policy reasons) to use private/public key-based authenticaton rather than using password authentication. I have an id_dsa in my "runner" user's .ssh directory and Webistrano configured appropriately for the ssh_keys parameter equal to /home/user/.ssh/id_dsa. I've also tried using id_rsa keys as well and get same result.
The error that Webistrano sends as a result of the deploy:setup task is as follows:
*** SSH options: setting ssh_keys to: /home/user/.ssh/id_dsa * executing `deploy:setup' * executing "umask 02 && mkdir -p /webapps/asset_management /webapps/ asset_management/releases /webapps/asset_management/shared /webapps/ asset_management/shared/system /webapps/asset_management/shared/log / webapps/asset_management/shared/pids" servers: ["dbserverIP", "webappserverIP"] *** connection failed for: webappserverIP (Net::SSH::AuthenticationFailed: deployment_user(SSH login)), dbserverIP (Net::SSH::AuthenticationFailed: deployment_user(SSH login))
Thanks in advance as I'm searching this Group and other online Rails
forums and haven't yet come up with a solution. My thinking being
Webistrano is such a new solution for managing Rails app deployment,
nobody out there has come across this or written up anything. Any
advice from anyone out there in the Rails community would be greatly
appreciated.
Thanks!