MyNixOS website logo
option

services.autossh-ng.sessions.<name>.hostKeyChecking

Whether to enable host key checking. The advantage of enabling host key checking is that it protects against AitM attacks, on the other hand disabling host key checking makes the autossh connection resilient against host key rotations of the destination machine.