From a0f133fc19674c1a198143571e159a4aebdd1441 Mon Sep 17 00:00:00 2001 From: Anton Bobov Date: Tue, 15 Aug 2023 20:56:40 +0500 Subject: [ssh] Automatically add new hosts to known_hosts --- files/.ssh/config | 3 +++ 1 file changed, 3 insertions(+) (limited to 'files/.ssh') diff --git a/files/.ssh/config b/files/.ssh/config index 8b10067..e85a280 100644 --- a/files/.ssh/config +++ b/files/.ssh/config @@ -10,6 +10,9 @@ Compression yes # http://petereisentraut.blogspot.com/2012/04/setting-time-zone-on-remote-ssh-hosts.html SendEnv LANG LC_* TZ +# Automatically add new host keys to the known_hosts file +StrictHostKeyChecking accept-new + Host 192.168.*.* StrictHostKeyChecking no UserKnownHostsFile /dev/null -- cgit v1.2.3