...
create an entry in your .ssh/config to make deployment easier, like:
Host chf1staging
Hostname NEW.IP
User hydep
#IdentityFile ~/.ssh/your_key
ForwardAgent yes
- (you can don't change the Host designation - you just need to change the Capistrano host to match)without:
- Changing it in capistrano, e.g. deploy/staging.rb, to match
- Clearing it with everyone who might deploy (they'll have to change their ssh config as well.
- this will use your personal ssh key – the one that matches your public key on github.
...