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