if ! ssh-keygen -H -F localhost &>/dev/null; then ssh-keyscan -p 22 localhost >> ~/.ssh/known_hosts fi