Prevent using UserKnownHostFile by default with automated tasks
This commit is contained in:
parent
29415f77d9
commit
a9399e57a0
@ -14,7 +14,7 @@ perror() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
sshcmd() {
|
sshcmd() {
|
||||||
ssh -o StrictHostKeyChecking=no $*
|
ssh -o StrictHostKeyChecking=no -o UserKnownHostFiles=/dev/null $*
|
||||||
}
|
}
|
||||||
|
|
||||||
dls() {
|
dls() {
|
||||||
|
Loading…
Reference in New Issue
Block a user