Prevent using UserKnownHostFile by default with automated tasks

This commit is contained in:
Guillaume 2023-06-15 00:09:23 +02:00
parent 29415f77d9
commit a9399e57a0

View File

@ -14,7 +14,7 @@ perror() {
}
sshcmd() {
ssh -o StrictHostKeyChecking=no $*
ssh -o StrictHostKeyChecking=no -o UserKnownHostFiles=/dev/null $*
}
dls() {