This is more a record of my own thoughts and errors than a real post. So, reader beware.

Since switching my scm from subversion to git, I’ve run into a host of deployment problems with capistrano:

  1. I can no longer deploy without supplying my server password. I have ssh configured on my server to perform public key authentication, so I don’t need to enter a password. Still, I keep the PasswordAuthentication option set to ‘yes’. I would like to turn this off, for security purposes.
  2. I have to put default_run_options[:pty] = true in my deploy.rb file. I never had to do this before, and this is the line that requires me to enter my server password.
  3. :deploy_via, :remote_cache doesn’t work. If I put this line in my deploy.rb file, it causes my deployment to fail. The update goes lightning quick anyway so I suppose it isn’t a big deal, but the fact that it breaks my deployment recipe just irks me.

If any other slicehost account holders are having similar problems please leave a comment or shoot me an email; maybe we can get this madness worked out.

Leave a Reply