ssh_config: StrictHostKeyChecking accept-new

This commit is contained in:
Aminda Suomalainen 2023-04-03 11:03:48 +03:00
parent 0a5e526cc5
commit 8309e9254e
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q

View File

@ -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.