Skip to content

Instantly share code, notes, and snippets.

View dforocha's full-sized avatar

Diego Fernando Ormanezi Rocha dforocha

View GitHub Profile
@dforocha
dforocha / gototvs
Created March 28, 2016 17:38
Script criado para simplificar o acesso via ssh nos servidores da TOTVS
#!/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:
#!/bin/bash
#
# SCRIPT:
# clean_aws.sh
#
# FUNCTION:
# Delete all configuration and instances from aws like ec2,rds and cloudformation
#
# AUTHOR:
# Diego Rocha
@dforocha
dforocha / goadt
Last active April 5, 2017 13:44
script to do the ssh on adtsys machines
#!/bin/bash
export PEM_KEY="~/.ssh/aws-totvs.pem"
function list() {
echo "ADTsys server list:
jerico01
jerico02
clean-jerico