Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've been working with capistrano for about a year deploying an app and everything went fine, until a couple of days ago when I got this

** [server_name :: out] fatal: Authentication failed

after typing deploy user's password. Trying to ssh using the same credentials works perfectly.

Do you have any idea about what could have caused this? I'm using capistrano (2.15.5) and ruby 1.9.3, and this is my Capfile:

load 'deploy' if respond_to?(:namespace) # cap2 differentiator

# Uncomment if you are using Rails' asset pipeline
# load 'deploy/assets'

Dir['vendor/gems/*/recipes/*.rb','vendor/plugins/*/recipes/*.rb'].each { |plugin|     load(plugin) }

load 'config/deploy' # remove this line to skip loading any of the default tasks
default_run_options[:pty] = true

Thanks a lot!

share|improve this question

So, I figured it out. I was using HTTPS authentication for Github, but the url changed. I switched to SSH, added the public keys of the deploy user to deploy keys and everything works fine now.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.