Skip to content

Instantly share code, notes, and snippets.

@rhogeranacleto
Last active October 16, 2017 16:45
Show Gist options
  • Save rhogeranacleto/06880616abe776bdf182badaacd46cd5 to your computer and use it in GitHub Desktop.
Save rhogeranacleto/06880616abe776bdf182badaacd46cd5 to your computer and use it in GitHub Desktop.
Acessar servidor e editar um arquivo
# Acesso API 1
ssh -i './view-prod.pem' ec2-user@54.94.213.65 -p 41010
# Acesso API 2
ssh -i './view-prod.pem' ec2-user@54.207.63.154 -p 41010
# Jobs 1
ssh -i './view-prod.pem' ec2-user@54.207.30.226 -p 41010
# Jobs 2
ssh -i './view-prod.pem' ec2-user@54.233.83.251 -p 41010
# acesso a staging
ssh -i new_fleet.pem ec2-user@ec2-54-232-241-55.sa-east-1.compute.amazonaws.com -p 41010
# comfirm yes
sudo su
su node
cd
cd newfleet
nano path/file.js
#ver se ta rodando migração
pm2 logs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment