summaryrefslogtreecommitdiff
path: root/common/files/sshd_config
diff options
context:
space:
mode:
Diffstat (limited to 'common/files/sshd_config')
-rw-r--r--common/files/sshd_config12
1 files changed, 12 insertions, 0 deletions
diff --git a/common/files/sshd_config b/common/files/sshd_config
new file mode 100644
index 0000000..878b81f
--- /dev/null
+++ b/common/files/sshd_config
@@ -0,0 +1,12 @@
+# Authentication types
+ChallengeResponseAuthentication no
+PasswordAuthentication no
+PubkeyAuthentication yes
+
+# Authentication details
+AuthorizedKeysFile .ssh/authorized_keys
+PermitRootLogin no
+UsePAM yes
+
+# Subsystems
+Subsystem sftp /usr/lib/ssh/sftp-server