Advertisement
Guest User

Untitled

a guest
Jul 26th, 2014
259
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.26 KB | None | 0 0
  1. INFO[6a293724] Running /usr/bin/env mkdir -p /tmp/myapp/ on actual_ip_address
  2. DEBUG[6a293724] Command: /usr/bin/env mkdir -p /tmp/myapp/
  3. cap aborted!
  4. SSHKit::Runner::ExecuteError: Exception while executing on host actual_ip_address: Authentication failed for user actual_user@actual_ip_address
  5. /home/actual_user/.rvm/gems/ruby-2.1.2@myapp/gems/net-ssh-2.9.1/lib/net/ssh.rb:219:in `start'
  6.  
  7. role :app, %w{actual_user@actual_ip_address}
  8. role :web, %w{actual_user@actual_ip_address}
  9. #role :db, %w{actual_user@actual_ip_address}
  10.  
  11.  
  12. # Extended Server Syntax
  13. # ======================
  14. # This can be used to drop a more detailed server definition into the
  15. # server list. The second argument is a, or duck-types, Hash and is
  16. # used to set extended properties on the server.
  17.  
  18. server 'actual_ip_address', user: 'actual_user', roles: %w{web app}, my_property: :my_value
  19.  
  20. # Custom SSH Options
  21. # ==================
  22. # You may pass any option but keep in mind that net/ssh understands a
  23. # limited set of options, consult[net/ssh documentation](http://net-ssh.github.io/net-ssh/classes/Net/SSH.html#method-c-start).
  24. #
  25. # Global options
  26. # --------------
  27. set :ssh_options, {
  28. keys: %w('/home/actual_user/.ssh/id_rsa'),
  29. forward_agent: true,
  30. auth_methods: %w(publickey)
  31. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement