recap icon indicating copy to clipboard operation
recap copied to clipboard

Change remote_username

Open manuelmeurer opened this issue 10 years ago • 3 comments

How can I change the remote_username? I do not want it to be the same as the username on my local machine. I tried set :remote_username, 'another_username' in Capfile but it still tries to log me in with my local username.

manuelmeurer avatar Oct 08 '13 21:10 manuelmeurer

Using set :user, 'another_username' should do what you want.

tomafro avatar Oct 09 '13 10:10 tomafro

Works! Would it make sense to add that line (commented out) to the generated Capfile with some explanatory text?

manuelmeurer avatar Oct 09 '13 11:10 manuelmeurer

I've not as of yet added commented out stuff to the generated Capfile, but I can see it might be useful. If this is done, it should probably include a bunch of other stuff too.

tomafro avatar Oct 23 '13 09:10 tomafro