Skip to content

Instantly share code, notes, and snippets.

@weslleyanjos
Created April 17, 2017 13:21
Show Gist options
  • Save weslleyanjos/6145f4acd4286d0454dbf1d5f57886bc to your computer and use it in GitHub Desktop.
Save weslleyanjos/6145f4acd4286d0454dbf1d5f57886bc to your computer and use it in GitHub Desktop.

SSH - Acessar servidor

Ambiente de PRODUÇÃO

ssh -i ~/.ssh/google [email protected]
cd /mnt/trustvox-production/current && bundle exec rails c

Ambiente de STAGING

ssh -i ~/.ssh/google [email protected]
cd /mnt/trustvox-staging/current && bin/rails c

Servidor do certificado

ssh -i ~/.ssh/google [email protected]
cd /mnt/trustvox_certificates-production/current/ &&  bundle exec rails c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment