Skip to content

Instantly share code, notes, and snippets.

#!/bin/bash
USERNAME=""
IDENTITY=""
IP=""
STATE=""
usage() { echo "Usage: $0 [-u <ssh username> ] [-k <ssh identity file>] [-i <ip address>] [-s <on|off>]" 1>&2; exit 1; }
while getopts "u:k:i:s:" o; do