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 <[EMAIL PROTECTED]> 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 --~--~---------~--~----~------------~-------~--~----~ To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/capistrano -~----------~----~----~----~------~----~------~--~---
