Last active
October 16, 2017 16:45
-
-
Save rhogeranacleto/06880616abe776bdf182badaacd46cd5 to your computer and use it in GitHub Desktop.
Acessar servidor e editar um arquivo
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Acesso API 1 | |
ssh -i './view-prod.pem' [email protected] -p 41010 | |
# Acesso API 2 | |
ssh -i './view-prod.pem' [email protected] -p 41010 | |
# Jobs 1 | |
ssh -i './view-prod.pem' [email protected] -p 41010 | |
# Jobs 2 | |
ssh -i './view-prod.pem' [email protected] -p 41010 | |
# acesso a staging | |
ssh -i new_fleet.pem [email protected] -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