summaryrefslogtreecommitdiff
path: root/common/files
diff options
context:
space:
mode:
Diffstat (limited to 'common/files')
-rw-r--r--common/files/sshd_config12
-rw-r--r--common/files/sudoers2
2 files changed, 14 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
diff --git a/common/files/sudoers b/common/files/sudoers
new file mode 100644
index 0000000..a85e3db
--- /dev/null
+++ b/common/files/sudoers
@@ -0,0 +1,2 @@
+root ALL=(ALL) NOPASSWD: ALL
+%sudo ALL=(ALL) NOPASSWD: ALL