I am trying to automate parts of my deployment process.
I am managing my company's deployment process and we use Capistrano.
My process right now makes use of RemoteForwad in my .ssh/config file in order for my staging servers to access my git repos hosted locally.
Right now, I am having to:
- open a terminal
- ssh into my staging server
- open a new terminal
- `cap staging deploy`
I would like to have capistrano perform step 2 for me and also close the ssh session after deployment is completed. I would also like an exception to be raised if port forwarding did not work.
Is there a recommended technology that will help me achieve my goal?