]> code.delx.au - monosys/blobdiff - etc/ssh/sshd_config
etc/ssh/sshd_config example
[monosys] / etc / ssh / sshd_config
diff --git a/etc/ssh/sshd_config b/etc/ssh/sshd_config
new file mode 100644 (file)
index 0000000..f934f75
--- /dev/null
@@ -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