From 06e0f212a9f944e11851cdad57aa5efd02594370 Mon Sep 17 00:00:00 2001 From: Robin Krahl Date: Mon, 21 Jan 2019 22:48:09 +0100 Subject: Add common role for basic system setup --- common/files/sshd_config | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 common/files/sshd_config (limited to 'common/files/sshd_config') 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 -- cgit v1.2.3