Skip to content

Instantly share code, notes, and snippets.

@rdkls
rdkls / aws-ssm-ec2-proxy-command.sh
Last active October 20, 2022 01:07
AWS SSM SSH ProxyCommand
#!/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
@rdkls
rdkls / .vimrc
Created June 29, 2018 06:34 — forked from dragonken/.vimrc
YAML space indent for vim
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
# ElasticSearch Service
description "ElasticSearch"
start on (net-device-up
and local-filesystems
and runlevel [2345])
stop on runlevel [016]