From 8309e9254ea4a105622b40ea0e0c7c122415972d Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Mon, 3 Apr 2023 11:03:48 +0300 Subject: [PATCH] ssh_config: StrictHostKeyChecking accept-new --- etc/ssh/ssh_config | 3 +++ 1 file changed, 3 insertions(+) diff --git a/etc/ssh/ssh_config b/etc/ssh/ssh_config index 6a6084af..95cac886 100644 --- a/etc/ssh/ssh_config +++ b/etc/ssh/ssh_config @@ -40,6 +40,9 @@ Host * # and LC_ALL is disabled on purpouse. SendEnv EDITOR LANG LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION TERM TZ + # "ssh will automatically add new host keys to the user's known_hosts file, but will not permit connections to hosts with changed host keys." + StrictHostKeyChecking accept-new + # If the server doesn't reply in three "pings", connection is dead. # Defaults to 3 anyway, but I add it here for clearity and # in case it decides to change in the future.