pkgs/clerie-ssh-known-hosts: Pin SSH host keys to FQDN only
This commit is contained in:
@@ -10,7 +10,6 @@ let
|
||||
sshPubkey = stripR (builtins.readFile (../../hosts + "/${hostname}/ssh.pub"));
|
||||
}) hostsWithSshPubkey;
|
||||
knownHosts = builtins.concatStringsSep "" (builtins.map ({name, sshPubkey}: ''
|
||||
${name} ${sshPubkey}
|
||||
${name}.net.clerie.de ${sshPubkey}
|
||||
'') sshkeyList);
|
||||
in writeTextFile {
|
||||
|
||||
Reference in New Issue
Block a user