diff options
| author | Elizabeth Hunt <me@liz.coffee> | 2025-03-15 00:50:34 -0700 |
|---|---|---|
| committer | Elizabeth Hunt <me@liz.coffee> | 2025-03-15 00:50:34 -0700 |
| commit | fb7e6890d8516618fa3baec0edf84048e2b6601d (patch) | |
| tree | a7bc5cfce71288ab69e8fa590d0f02df90c55385 /playbooks/roles/common/files | |
| download | infra-fb7e6890d8516618fa3baec0edf84048e2b6601d.tar.gz infra-fb7e6890d8516618fa3baec0edf84048e2b6601d.zip | |
a docker swarm
Diffstat (limited to 'playbooks/roles/common/files')
| -rw-r--r-- | playbooks/roles/common/files/authorized_keys | 1 | ||||
| -rw-r--r-- | playbooks/roles/common/files/sshd_config | 21 |
2 files changed, 22 insertions, 0 deletions
diff --git a/playbooks/roles/common/files/authorized_keys b/playbooks/roles/common/files/authorized_keys new file mode 100644 index 0000000..6d49a82 --- /dev/null +++ b/playbooks/roles/common/files/authorized_keys @@ -0,0 +1 @@ +ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPnLAE5TrdYF8QWCSkvgUp15XKcwQJ9393a/CghSo8dG serve@ansible diff --git a/playbooks/roles/common/files/sshd_config b/playbooks/roles/common/files/sshd_config new file mode 100644 index 0000000..239a0c0 --- /dev/null +++ b/playbooks/roles/common/files/sshd_config @@ -0,0 +1,21 @@ +Include /etc/ssh/sshd_config.d/*.conf + +Port 22 +PermitRootLogin no +PubkeyAuthentication yes +PasswordAuthentication no + +KbdInteractiveAuthentication no + +UsePAM yes + +AllowAgentForwarding yes +X11Forwarding no +PrintMotd no +PrintLastLog yes +TCPKeepAlive yes +ClientAliveInterval 300 +ClientAliveCountMax 1 + +AcceptEnv LANG LC_* +Subsystem sftp /usr/lib/openssh/sftp-server |
