diff options
author | Bertrand Jacquin <bertrand@jacquin.bzh> | 2024-02-10 19:11:18 +0000 |
---|---|---|
committer | Bertrand Jacquin <bertrand@jacquin.bzh> | 2024-02-10 21:54:57 +0000 |
commit | a34677e8d4ccb73730e4035cfc1a0eed91004c83 (patch) | |
tree | 9f3bebfbdf959a8894ae48d9dc0a4975206dfad3 | |
parent | sys-kernel/stable-sources: add 6.7.4, drop 6.7.3 (diff) | |
download | portage-a34677e8d4ccb73730e4035cfc1a0eed91004c83.tar.xz |
factory-default/net-misc/openssh: define KnownHostsFile
-rw-r--r-- | factory-default/net-misc/openssh/etc/ssh/ssh_config | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/factory-default/net-misc/openssh/etc/ssh/ssh_config b/factory-default/net-misc/openssh/etc/ssh/ssh_config index c7bb50b0..f822f7a5 100644 --- a/factory-default/net-misc/openssh/etc/ssh/ssh_config +++ b/factory-default/net-misc/openssh/etc/ssh/ssh_config @@ -16,6 +16,12 @@ # ssh_config(5) man page. Host * + # Files to use for the global host key database + GlobalKnownHostsFile /etc/ssh/ssh_known_hosts + + # Files to use for the user host key database + UserKnownHostsFile %d/.ssh/known_hosts + # Hash host names and addresses when they are added to # ~/.ssh/known_hosts HashKnownHosts yes |