summaryrefslogtreecommitdiff
path: root/roles/common/files/sshd_config
diff options
context:
space:
mode:
authorElizabeth Hunt <elizabeth.hunt@simponic.xyz>2024-01-03 01:03:22 -0500
committerElizabeth Hunt <elizabeth.hunt@simponic.xyz>2024-01-03 01:03:22 -0500
commit365641c4b502d2c071aa555240692d2020a407a0 (patch)
treeefaf853e105b4023fe121fc7239460ef0c147081 /roles/common/files/sshd_config
parent807637e9a4d7edf82ceb5bdcb0a24e08dfa34527 (diff)
downloadoldinfra-365641c4b502d2c071aa555240692d2020a407a0.tar.gz
oldinfra-365641c4b502d2c071aa555240692d2020a407a0.zip
add docker to common setup
Diffstat (limited to 'roles/common/files/sshd_config')
-rw-r--r--roles/common/files/sshd_config24
1 files changed, 24 insertions, 0 deletions
diff --git a/roles/common/files/sshd_config b/roles/common/files/sshd_config
new file mode 100644
index 0000000..fb8efff
--- /dev/null
+++ b/roles/common/files/sshd_config
@@ -0,0 +1,24 @@
+Include /etc/ssh/sshd_config.d/*.conf
+
+Port 22
+PermitRootLogin yes
+PubkeyAuthentication yes
+PasswordAuthentication no
+
+KbdInteractiveAuthentication no
+
+UsePAM yes
+
+AllowAgentForwarding yes
+X11Forwarding no
+PrintMotd no
+PrintLastLog yes
+TCPKeepAlive yes
+ClientAliveInterval 300
+ClientAliveCountMax 1
+
+# Allow client to pass locale environment variables
+AcceptEnv LANG LC_*
+
+# override default of no subsystems
+Subsystem sftp /usr/lib/openssh/sftp-server