#!/bin/bash if [[ "$1" = "-h" ]]; then echo "Set options to not use host key checking, and pass all commands to 'ssh'." exit fi exec ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no "$@"