Change DiscardKnownHosts option to SetKnownHostFile. Update tests.
Set known hosts file to /dev/null for juju ssh