See more about:
$ ssh-keygen
Use Capstrano to deploy Git projects
Yout git name project. Example: capistrano-deploy
set :application, 'capistrano-deploy'
Your git project
set :repo_url, 'git@github.com:lcfumes/capistrano-deploy.git'
The folder destiny in your server
set :deploy_to, '/srv/destiny_folder'
Url of your live server and user name to deploy
You can put more than one server
server 'server.com.br', user: 'web', roles: %w{app}
Url of your staging server and user name to deploy
You can put more than one server
server 'server.com.br', user: 'web', roles: %w{app}