26
3
I have the following in my ssh_config
to connect to machines on my local LAN and machines in a VM:
Host 172.16.*.*
StrictHostKeyChecking no
UserKnownHostsFile /dev/null
However, each time I connect it produces a warning:
$ ssh jdoe@172.16.4.11
Warning: Permanently added '172.16.4.11' (ECDSA) to the list of known hosts.
Enter passphrase for key '/Users/jdoe/.ssh/id_ed25519':
I'm using OpenSSH 7.1. How do I disable the warning on each connection for the local LAN?
The SSH config file on Debian is
/etc/ssh/ssh_config
(not/etc/ssh/sshd_config
!) – rubo77 – 2019-12-21T07:57:49.943