Skip to content

Commit

Permalink
Make ssh known_hosts loads local entries
Browse files Browse the repository at this point in the history
Preparation part of GH-802
  • Loading branch information
kachick committed Jan 7, 2025
1 parent e35ad26 commit 2023055
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions home-manager/ssh.nix
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ in
# https://groups.google.com/g/opensshunixdev/c/e5-kTKpxcaI/m/bdVNyL4BBAAJ
hashKnownHosts = false;

# TODO: Generate the file instead of readonly symlink to realize local specific list
userKnownHostsFile = "${../config/ssh/known_hosts}";
# It accepts multiple files separated by whitespace. See https://man.openbsd.org/ssh_config#UserKnownHostsFile for detail
userKnownHostsFile = "${../config/ssh/known_hosts} ${sshDir}/known_hosts.local";

# unit: seconds
serverAliveInterval = 60;
Expand Down

0 comments on commit 2023055

Please sign in to comment.