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
#!/bin/bash | |
# | |
# FUNCTION: | |
# Simplificar o acesso via SSH nos servidores da TOTVS | |
# Antes de acessar o servidor esse script tenta autenticar na VPN da TOTVS por isso atualize a variável VPN_CONNECTION_NAME com o nome da sua conexão de VPN | |
# AUTHOR: | |
# Diego Rocha | |
# CREATED: | |
# 28-03-2016 | |
# UPDATES: |
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
#!/bin/bash | |
# | |
# SCRIPT: | |
# clean_aws.sh | |
# | |
# FUNCTION: | |
# Delete all configuration and instances from aws like ec2,rds and cloudformation | |
# | |
# AUTHOR: | |
# Diego Rocha |
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
#!/bin/bash | |
export PEM_KEY="~/.ssh/aws-totvs.pem" | |
function list() { | |
echo "ADTsys server list: | |
jerico01 | |
jerico02 | |
clean-jerico |