|
set :user being ignored?: msg#00111lang.ruby.capistrano.general
My local username and my remote username are not the same. I need to get Capistrano to use the remote username when ssh-ing to the remote host, but nothing I've tried works. I've tried adding 'set :user, "remote_user"' in my deploy.rb file as well as my Capfile, and I've done the same with 'ssh_options[:username] = "remote_user"', as well as a few other settings I found around the web. None of them have any effect. No matter what I do, when I run "cap deploy" Capistrano tries to ssh to the remote host using my local username. What's the secret handshake? Thanks, -Bill |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Using Capistrano to sudo su as another user: 00111, John Ward |
|---|---|
| Next by Date: | Re: set :user being ignored?: 00111, tr |
| Previous by Thread: | Re: Capistrano 2.0.0 => 2.1.0 no prompt for SSH password, non-root user can't run "cap" at alli: 00111, Violaine Garcini |
| Next by Thread: | Re: set :user being ignored?: 00111, tr |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |