aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/vm3
-rw-r--r--etc/ssh/config.tmpl3
2 files changed, 3 insertions, 3 deletions
diff --git a/bin/vm b/bin/vm
index 42b673b..50cfa9f 100755
--- a/bin/vm
+++ b/bin/vm
@@ -200,6 +200,9 @@ write_ssh_config() {
Host $NAME
HostName localhost
Port $PORT
+ UserKnownHostsFile /dev/null
+ GlobalKnownHostsFile /dev/null
+ StrictHostKeyChecking no
EOF
done > "$XDG_DATA_HOME"/vm/ssh.conf
diff --git a/etc/ssh/config.tmpl b/etc/ssh/config.tmpl
index 4a9ba86..0e06483 100644
--- a/etc/ssh/config.tmpl
+++ b/etc/ssh/config.tmpl
@@ -1,6 +1,3 @@
-Host *
- UserKnownHostsFile ${XDG_CONFIG_HOME}/ssh/known_hosts
-
Include ~/dev/libre/servers/src/infrastructure/ssh.conf
Include ~/dev/others/lawtech/src/infrastructure/ssh.conf
Include ${XDG_DATA_HOME}/vm/ssh.conf