Capistrano SSH::AuthenticationFailed, not prompting for password

后端 未结 9 1217
既然无缘
既然无缘 2020-12-07 22:41

I\'ve been using capistrano successfully for a while now and all of a sudden in every project I\'ve lost the ability to deploy.

Environment:

  • os X (Mave
9条回答
  •  情书的邮戳
    2020-12-07 23:03

    Upgrading your net-ssh version to 2.8.1 will solve the problem. They released a version bump in 19th february 2014 that fix this and other problems.

    1. Uninstall your current net-ssh gem (gem install net-ssh -v 'version')
    2. Just paste this on your Gemfile:

      gem 'net-ssh', '~> 2.8.1', :git => "https://github.com/net-ssh/net-ssh"

    3. Run bundle install

提交回复
热议问题