From 90d7f6ba02fc70c100685009c11258e1811af3c8 Mon Sep 17 00:00:00 2001 From: James Bunton Date: Tue, 30 Jan 2024 00:16:49 +1100 Subject: [PATCH] etc/ssh/sshd_config example --- etc/ssh/sshd_config | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 etc/ssh/sshd_config diff --git a/etc/ssh/sshd_config b/etc/ssh/sshd_config new file mode 100644 index 0000000..f934f75 --- /dev/null +++ b/etc/ssh/sshd_config @@ -0,0 +1,15 @@ +LogLevel INFO +Port 22 +Port 20050 + +AuthenticationMethods publickey +HostKey /etc/ssh/ssh_host_ed25519_key +HostKeyAlgorithms ssh-ed25519 +PubkeyAcceptedKeyTypes ssh-ed25519 +UsePAM yes + +AllowUsers root userA userB +PermitRootLogin prohibit-password + +Subsystem sftp internal-sftp +AcceptEnv LANG LC_* COLORFGBG -- 2.39.2