summaryrefslogtreecommitdiff
path: root/etc/ssh/sshd_config
diff options
context:
space:
mode:
authorJon duSaint2022-11-27 11:25:11 -0800
committerJon duSaint2022-11-27 11:25:11 -0800
commit254e41ba237796ce1ad6bf670aebf1b92eed98be (patch)
tree1be7770ddf0e78a7e262535f7e5dd47bb9b73575 /etc/ssh/sshd_config
parenta49cb4da526c86385e942323e069a8e978d0cf4c (diff)

etc: all the interesting config files for the server

HEADmain
Diffstat (limited to 'etc/ssh/sshd_config')
-rw-r--r--etc/ssh/sshd_config11
1 files changed, 11 insertions, 0 deletions
diff --git a/etc/ssh/sshd_config b/etc/ssh/sshd_config
new file mode 100644
index 0000000..38a006f
--- /dev/null
+++ b/etc/ssh/sshd_config
@@ -0,0 +1,11 @@
+....
+
+PermitRootLogin no
+PubkeyAuthentication yes
+PasswordAuthentication no
+
+Match User git
+ X11Forwarding no
+ AllowTcpForwarding no
+ PermitTTY no
+ ChrootDirectory /var/www