From: James Bunton Date: Sat, 4 Feb 2017 23:52:43 +0000 (+1100) Subject: bash: ssh_unsafe ignores hosts file X-Git-Url: https://code.delx.au/dotfiles/commitdiff_plain/840fcbc9b9b990c2459397f2dd7736e6039f88fd bash: ssh_unsafe ignores hosts file --- 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 "$@" }