diff options
| author | Anton Bobov <anton@bobov.name> | 2023-08-15 20:56:40 +0500 |
|---|---|---|
| committer | Anton Bobov <anton@bobov.name> | 2023-08-15 20:56:40 +0500 |
| commit | a0f133fc19674c1a198143571e159a4aebdd1441 (patch) | |
| tree | b140aad17bc3cde0021ea0e44b1b3b9667852697 /files | |
| parent | c08d4414e745ac68902d45e1ba6f43478e14e723 (diff) | |
[ssh] Automatically add new hosts to known_hosts
Diffstat (limited to 'files')
| -rw-r--r-- | files/.ssh/config | 3 |
1 files changed, 3 insertions, 0 deletions
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 |
