Skip to content
This repository has been archived by the owner on Sep 1, 2020. It is now read-only.

Net::SSH::AuthenticationFailed #81

Open
mahendhar9 opened this issue Apr 25, 2016 · 3 comments
Open

Net::SSH::AuthenticationFailed #81

mahendhar9 opened this issue Apr 25, 2016 · 3 comments

Comments

@mahendhar9
Copy link

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?

@philliprauschkolb
Copy link

philliprauschkolb commented Apr 28, 2016

Same issue here

@mahendhar9
Copy link
Author

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

@peterhoffren
Copy link

Same issue here, osx sierra

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants