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
#!/usr/bin/env bash | |
# | |
# Description | |
# Bootstrap SSH Session to an SSM-managed instance | |
# by temporarily adding a public SSH key available on the local machine (ssh-agent or in ~/.ssh) | |
# | |
# | |
# Installation | |
# | |
# First run your eye over this script to check for malicious code |
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
syntax on | |
filetype plugin indent on | |
# Get the 2-space YAML as the default when hit carriage return after the colon | |
autocmd FileType yaml setlocal ts=2 sts=2 sw=2 expandtab |
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
# ElasticSearch Service | |
description "ElasticSearch" | |
start on (net-device-up | |
and local-filesystems | |
and runlevel [2345]) | |
stop on runlevel [016] |