From 365641c4b502d2c071aa555240692d2020a407a0 Mon Sep 17 00:00:00 2001 From: Elizabeth Hunt Date: Wed, 3 Jan 2024 01:03:22 -0500 Subject: add docker to common setup --- roles/common/files/sshd_config | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 roles/common/files/sshd_config (limited to 'roles/common/files/sshd_config') 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 -- cgit v1.2.3-70-g09d2