From 840fcbc9b9b990c2459397f2dd7736e6039f88fd Mon Sep 17 00:00:00 2001 From: James Bunton Date: Sun, 5 Feb 2017 10:52:43 +1100 Subject: [PATCH] bash: ssh_unsafe ignores hosts file --- .bash/interactive | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.bash/interactive b/.bash/interactive index 380a561..867c7a3 100644 --- a/.bash/interactive +++ b/.bash/interactive @@ -227,7 +227,7 @@ function ssh_new { # SSH without verifying host key function ssh_unsafe { - ssh -o StrictHostKeyChecking=no "$@" + ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null "$@" } -- 2.39.2