Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- INFO[6a293724] Running /usr/bin/env mkdir -p /tmp/myapp/ on actual_ip_address
- DEBUG[6a293724] Command: /usr/bin/env mkdir -p /tmp/myapp/
- cap aborted!
- SSHKit::Runner::ExecuteError: Exception while executing on host actual_ip_address: Authentication failed for user actual_user@actual_ip_address
- /home/actual_user/.rvm/gems/ruby-2.1.2@myapp/gems/net-ssh-2.9.1/lib/net/ssh.rb:219:in `start'
- role :app, %w{actual_user@actual_ip_address}
- role :web, %w{actual_user@actual_ip_address}
- #role :db, %w{actual_user@actual_ip_address}
- # Extended Server Syntax
- # ======================
- # This can be used to drop a more detailed server definition into the
- # server list. The second argument is a, or duck-types, Hash and is
- # used to set extended properties on the server.
- server 'actual_ip_address', user: 'actual_user', roles: %w{web app}, my_property: :my_value
- # Custom SSH Options
- # ==================
- # You may pass any option but keep in mind that net/ssh understands a
- # limited set of options, consult[net/ssh documentation](http://net-ssh.github.io/net-ssh/classes/Net/SSH.html#method-c-start).
- #
- # Global options
- # --------------
- set :ssh_options, {
- keys: %w('/home/actual_user/.ssh/id_rsa'),
- forward_agent: true,
- auth_methods: %w(publickey)
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement