summaryrefslogtreecommitdiff
path: root/ssh.conf
diff options
context:
space:
mode:
authorGravatar Matthias Lucas Jaros <jarlucmat@mailbox.org>2025-10-18 14:35:18 +0200
committerGravatar Matthias Lucas Jaros <jarlucmat@mailbox.org>2025-10-18 14:35:18 +0200
commitaa41ae926beba85ad2cb06e10b5f4f270309b9c4 (patch)
tree580e0945aa32e512ca509770aed8c4e42e0e0c9e /ssh.conf
Initial commit. WIP
Diffstat (limited to 'ssh.conf')
-rw-r--r--ssh.conf20
1 files changed, 20 insertions, 0 deletions
diff --git a/ssh.conf b/ssh.conf
new file mode 100644
index 0000000..bc96c2f
--- /dev/null
+++ b/ssh.conf
@@ -0,0 +1,20 @@
+PermitRootLogin no
+PasswordAuthentication no
+
+HostKey /etc/ssh/ssh_host_rsa_key
+HostKey /etc/ssh/ssh_host_ecdsa_key
+HostKey /etc/ssh/ssh_host_ed25519_key
+
+# Logging
+SyslogFacility AUTH
+LogLevel INFO
+
+#PermitTTY yes
+#AllowAgentForwarding yes
+
+# Example of overriding settings on a per-user basis
+#Match User anoncvs
+# X11Forwarding no
+# AllowTcpForwarding no
+# PermitTTY no
+# ForceCommand cvs server