Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Net::SSH::AuthenticationFailed #1

Closed
leepeterson opened this issue Dec 8, 2011 · 3 comments
Closed

Net::SSH::AuthenticationFailed #1

leepeterson opened this issue Dec 8, 2011 · 3 comments

Comments

@leepeterson
Copy link

Hi there. Thanks for this marvelous script. You're about to change my whole workflow for the better.

I'm having some trouble at the pull stage. After initializing & configuring a yaml config file, I do a pull and here's what happens:

$ wordmove pull
Pushing the DB...
/Library/Ruby/Gems/1.8/gems/net-ssh-2.2.1/lib/net/ssh.rb:200:in start': root (Net::SSH::AuthenticationFailed) from /Library/Ruby/Gems/1.8/gems/net-scp-1.0.4/lib/net/scp.rb:197:instart'
from /Library/Ruby/Gems/1.8/gems/net-scp-1.0.4/lib/net/scp.rb:235:in download!' from /Library/Ruby/Gems/1.8/gems/wordmove-0.0.1/lib/wordmove/hosts/remote_host.rb:26:inupload_file'
from /Library/Ruby/Gems/1.8/gems/wordmove-0.0.1/lib/wordmove/deployer.rb:83:in pull_db' from /Library/Ruby/Gems/1.8/gems/wordmove-0.0.1/lib/wordmove/deployer.rb:127:inremotely'
from /Library/Ruby/Gems/1.8/gems/wordmove-0.0.1/lib/wordmove/deployer.rb:81:in pull_db' from /Library/Ruby/Gems/1.8/gems/wordmove-0.0.1/lib/wordmove/deployer.rb:39:inpull'
from /Library/Ruby/Gems/1.8/gems/wordmove-0.0.1/lib/wordmove/cli.rb:23:in pull' from /Library/Ruby/Gems/1.8/gems/thor-0.14.6/lib/thor/task.rb:22:insend'
from /Library/Ruby/Gems/1.8/gems/thor-0.14.6/lib/thor/task.rb:22:in run' from /Library/Ruby/Gems/1.8/gems/thor-0.14.6/lib/thor/invocation.rb:118:ininvoke_task'
from /Library/Ruby/Gems/1.8/gems/thor-0.14.6/lib/thor.rb:263:in dispatch' from /Library/Ruby/Gems/1.8/gems/thor-0.14.6/lib/thor/base.rb:389:instart'
from /Library/Ruby/Gems/1.8/gems/wordmove-0.0.1/bin/wordmove:4
from /usr/bin/wordmove:19:in `load'
from /usr/bin/wordmove:19

I'm relatively new to Ruby.

Any help is greatly appreciated! Thank you.

@stefanoverna
Copy link
Contributor

It seems to me that the ssh username:password is not correct, as you're getting a Net::SSH::AuthenticationFailed.. we should make those errors more readable, btw.

@stefanoverna
Copy link
Contributor

I've made the errors more informative in 7284eac, please update the gem :)

@leepeterson
Copy link
Author

Thank you! That makes much more sense now. :-)

Arkham pushed a commit that referenced this issue Nov 17, 2012
alessandro-fazzi pushed a commit that referenced this issue Jan 9, 2016
alessandro-fazzi pushed a commit that referenced this issue May 22, 2018
add spec for .load_dotenv method
alessandro-fazzi pushed a commit that referenced this issue May 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants