|
Re: set :user being ignored?: msg#00112lang.ruby.capistrano.general
Bill, I have this line in my deploy.rb file and it works for me: set :user, "root" In the quotes, you have to specify the actual name of the remote user and not "remote_user" if that's what you were doing. Other than this, I can't think of why it wouldn't work for you. BTW, I'm using Cap 2.1.0. TR On Dec 18, 3:27 pm, Bill Kocik <bko...-Re5JQEeQqe8AvxtiuMwx3w@xxxxxxxxxxxxxxxx> wrote: > 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: | set :user being ignored?: 00112, Bill Kocik |
|---|---|
| Next by Date: | Re: set :user being ignored?: 00112, Bill Kocik |
| Previous by Thread: | set :user being ignored?i: 00112, Bill Kocik |
| Next by Thread: | Re: set :user being ignored?: 00112, Bill Kocik |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |