summaryrefslogtreecommitdiff
path: root/factory-default
diff options
context:
space:
mode:
authorBertrand Jacquin <bertrand@jacquin.bzh>2019-09-28 22:48:05 +0100
committerBertrand Jacquin <bertrand@jacquin.bzh>2019-09-28 22:48:05 +0100
commit0cf686124948bb7e31f8c485ce6169bd73905107 (patch)
treeed57d35f402281fac0c49c3e3e4ad0f738798878 /factory-default
parentfactory-default/sys-apps/baselayout: enable IPv6 sysctl (diff)
downloadportage-0cf686124948bb7e31f8c485ce6169bd73905107.tar.xz
factory-default/net-misc/openssh: restrict AuthorizedKeysFile
Diffstat (limited to 'factory-default')
-rw-r--r--factory-default/net-misc/openssh/etc/ssh/sshd_config2
1 files changed, 1 insertions, 1 deletions
diff --git a/factory-default/net-misc/openssh/etc/ssh/sshd_config b/factory-default/net-misc/openssh/etc/ssh/sshd_config
index 3f0d125a..b1b8f373 100644
--- a/factory-default/net-misc/openssh/etc/ssh/sshd_config
+++ b/factory-default/net-misc/openssh/etc/ssh/sshd_config
@@ -39,7 +39,7 @@ StrictModes yes
# Public key authentication is allowed
PubkeyAuthentication yes
-AuthorizedKeysFile /etc/ssh/authorized_keys/%u %h/.ssh/authorized_keys
+AuthorizedKeysFile /etc/ssh/authorized_keys/%u
# Disable rhosts
HostbasedAuthentication no