git-deploy icon indicating copy to clipboard operation
git-deploy copied to clipboard

Net::SSH::AuthenticationFailed

Open mahendhar9 opened this issue 9 years ago • 3 comments

Hello. I get the following error on running git deploy setup -r "production"

/home/mahendhar/.rvm/gems/ruby-2.2.2/gems/net-ssh-2.6.6/lib/net/ssh.rb:201:in `start': root (Net::SSH::AuthenticationFailed)
    from /home/mahendhar/.rvm/gems/ruby-2.2.2/gems/git-deploy-0.6.1/lib/git_deploy/ssh_methods.rb:96:in `ssh_connection'
    from /home/mahendhar/.rvm/gems/ruby-2.2.2/gems/git-deploy-0.6.1/lib/git_deploy/ssh_methods.rb:43:in `ssh_exec'
    from /home/mahendhar/.rvm/gems/ruby-2.2.2/gems/git-deploy-0.6.1/lib/git_deploy/ssh_methods.rb:35:in `run_test'
    from /home/mahendhar/.rvm/gems/ruby-2.2.2/gems/git-deploy-0.6.1/lib/git_deploy.rb:28:in `setup'
    from /home/mahendhar/.rvm/gems/ruby-2.2.2/gems/thor-0.14.6/lib/thor/task.rb:22:in `run'
    from /home/mahendhar/.rvm/gems/ruby-2.2.2/gems/thor-0.14.6/lib/thor/invocation.rb:118:in `invoke_task'
    from /home/mahendhar/.rvm/gems/ruby-2.2.2/gems/thor-0.14.6/lib/thor.rb:263:in `dispatch'
    from /home/mahendhar/.rvm/gems/ruby-2.2.2/gems/thor-0.14.6/lib/thor/base.rb:389:in `start'
    from /home/mahendhar/.rvm/gems/ruby-2.2.2/gems/git-deploy-0.6.1/bin/git-deploy:3:in `<top (required)>'
    from /home/mahendhar/.rvm/gems/ruby-2.2.2/bin/git-deploy:23:in `load'
    from /home/mahendhar/.rvm/gems/ruby-2.2.2/bin/git-deploy:23:in `<main>'
    from /home/mahendhar/.rvm/gems/ruby-2.2.2/bin/ruby_executable_hooks:15:in `eval'
    from /home/mahendhar/.rvm/gems/ruby-2.2.2/bin/ruby_executable_hooks:15:in `<main>'

I even updated the net-ssh gem version, but the problem persists. Can anyone kindly help?

mahendhar9 avatar Apr 25 '16 16:04 mahendhar9

Same issue here

philliprauschkolb avatar Apr 28 '16 23:04 philliprauschkolb

@philliprauschkolb I followed this tutorial for automatic git deployment. The tutorial doesn't use this gem.

mahendhar9 avatar Apr 29 '16 09:04 mahendhar9

Same issue here, osx sierra

peterhoffren avatar Feb 24 '17 19:02 peterhoffren