I am attempting to migrate to v3. Capistrano v2 assumed the SSH user is the same as my local user. v3 doesn't seem to do this. When I attempt to deploy, I get the output below. We rely on LDAP for authentication, so I would like to forego having to create a deploy user and update its authorized_keys. How can I tell Capistrano to login as the local user?
cblackburn@Davis:~/workspace/deployment_hub/providermatch$ bundle exec cap > integration deploy --trace > ** Invoke integration (first_time) > ** Execute integration > ** Invoke load:defaults (first_time) > ** Execute load:defaults > ** Invoke deploy (first_time) > ** Execute deploy > ** Invoke deploy:starting (first_time) > ** Invoke deploy:set_shared_assets (first_time) > ** Execute deploy:set_shared_assets > ** Execute deploy:starting > ** Invoke deploy:check (first_time) > ** Execute deploy:check > ** Invoke git:check (first_time) > ** Invoke git:wrapper (first_time) > ** Execute git:wrapper > cap aborted! > Net::SSH::AuthenticationFailed > /Users/cblackburn/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/net-ssh-2.7.0/lib/net/ssh.rb:215:in > > `start' > /Users/cblackburn/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/sshkit-0.0.34/lib/sshkit/backends/netssh.rb:156:in > > `ssh' > /Users/cblackburn/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/sshkit-0.0.34/lib/sshkit/backends/netssh.rb:68:in > > `upload!' > /Users/cblackburn/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/capistrano-3.0.0/lib/capistrano/tasks/git.rake:11:in > > `block (3 levels) in <top (required)>' > /Users/cblackburn/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/sshkit-0.0.34/lib/sshkit/backends/netssh.rb:42:in > > `instance_exec' > /Users/cblackburn/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/sshkit-0.0.34/lib/sshkit/backends/netssh.rb:42:in > > `run' > /Users/cblackburn/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/sshkit-0.0.34/lib/sshkit/runners/parallel.rb:29:in > > `block (2 levels) in execute' > Tasks: TOP => git:check => git:wrapper -- -- * You received this message because you are subscribed to the Google Groups "Capistrano" group. * To post to this group, send email to [email protected] * To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/capistrano?hl=en --- You received this message because you are subscribed to the Google Groups "Capistrano" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
