diff options
author | EuAndreh <eu@euandre.org> | 2022-12-03 10:25:18 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2022-12-03 10:25:18 -0300 |
commit | e5b4ba1499f3415ed296007dcbb1034d43c742d7 (patch) | |
tree | 2d521eccb3275b93f868394a119229a73543af50 | |
parent | etc/ssh/known_hosts: Remove vm host keys (diff) | |
download | dotfiles-e5b4ba1499f3415ed296007dcbb1034d43c742d7.tar.gz dotfiles-e5b4ba1499f3415ed296007dcbb1034d43c742d7.tar.xz |
bin/vm: Ignore known_hosts on SSHing into vm
-rwxr-xr-x | bin/vm | 3 | ||||
-rw-r--r-- | etc/ssh/config.tmpl | 3 |
2 files changed, 3 insertions, 3 deletions
@@ -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 |