MyNixOS website logo
option

programs.ssh.knownHosts.<name>.hostNames

A list of host names and/or IP numbers used for accessing the host's ssh service. This list includes the name of the containing knownHosts attribute by default for convenience. If you wish to configure multiple host keys for the same host use multiple knownHosts entries with different attribute names and the same hostNames list.

Declarations
Type
list of string
Default
[ ‹name› ] ++ config.programs.ssh.knownHosts.<name>.extraHostNames</name>