Files
q-tools/web/ssh-nosave
2021-10-08 11:19:58 +03:00

10 lines
209 B
Bash
Executable File

#!/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 "$@"