diff --git a/files/ssh/authorized_keys b/files/ssh/authorized_keys new file mode 100644 index 0000000..018d9d4 --- /dev/null +++ b/files/ssh/authorized_keys @@ -0,0 +1,2 @@ +ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQClWZxHhmgV2LD3mrbLU2VxPXGMx02WaB5MU9t8XJsqAmsIKwUZSqHTrlR20dXPGlZhe5Rx4vf+ZKx0kuNKJMvswEkvpP0la9WSsawWHxhOTrqDr0yZMV1/CncdARw1vse3zJCQVbOflbKYsKgpdJHbMzk5SfSZijSscrgxRTa8qX/ndnmlGrgm4MxezgFBEJrzC4vCTZLK5LPkAva+2A6fwElgR7V1Dkg5p5l0/nvKbBje+ugaiTw7RPy42oC/hHrsvsnTQ4KheD1phRJFCSEnj6l7gxVetVBznZ/K697MrK4aNUFLDV29uiPALj+1fWAYTIO3WPNU/QkH7OEP8JO3 l1.office.tjas +ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPW5phGhwAG8dmT+sR0uF1gRc0X9xXZiiFxvKUEsPk1N cwchristerw diff --git a/files/ssh/sshd_config b/files/ssh/sshd_config new file mode 100644 index 0000000..7edb9fb --- /dev/null +++ b/files/ssh/sshd_config @@ -0,0 +1,24 @@ +Port 22 +HostKey /etc/ssh/ssh_host_rsa_key +HostKey /etc/ssh/ssh_host_ed25519_key +SyslogFacility AUTHPRIV +LogLevel VERBOSE +PermitRootLogin prohibit-password +MaxAuthTries 2 +PubkeyAuthentication yes +AuthorizedKeysFile .ssh/authorized_keys +PermitEmptyPasswords no +PasswordAuthentication no +ChallengeResponseAuthentication no +UsePAM yes +AllowAgentForwarding no +AllowTcpForwarding yes +X11Forwarding no +TCPKeepAlive yes +Compression no +ClientAliveCountMax 2 +UseDNS no +PermitTunnel yes +Banner /etc/issue.net +PrintMotd no +Subsystem sftp /usr/lib/openssh/sftp-server