recap
recap copied to clipboard
Change remote_username
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.
Using set :user, 'another_username'
should do what you want.
Works! Would it make sense to add that line (commented out) to the generated Capfile with some explanatory text?
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.