From d3ec864c134ebcf05ea82bad7f565a61bb418feb Mon Sep 17 00:00:00 2001 From: steering7253 Date: Wed, 8 Apr 2026 03:50:25 +0200 Subject: init --- sshd_config | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 sshd_config (limited to 'sshd_config') diff --git a/sshd_config b/sshd_config new file mode 100644 index 0000000..a6bf121 --- /dev/null +++ b/sshd_config @@ -0,0 +1,25 @@ +Match user new + AuthorizedKeysCommand /opt/autopeer/authorized_keys.sh %u %t %k + AuthorizedKeysCommandUser root + AuthenticationMethods publickey + AllowAgentForwarding no + AllowStreamLocalForwarding no + AllowTcpForwarding no + ExposeAuthInfo yes + PermitOpen none + PermitTunnel no + PermitUserRC no + ForceCommand /opt/autopeer/new_user_created.sh + +Match group autopeer + AuthorizedKeysCommand /opt/autopeer/authorized_keys.sh %u %t %k + AuthorizedKeysCommandUser root + AuthenticationMethods publickey + AllowAgentForwarding no + AllowStreamLocalForwarding no + AllowTcpForwarding no + ExposeAuthInfo yes + PermitOpen none + PermitTunnel no + PermitUserRC no + ForceCommand /opt/autopeer/autopeer_shell.py -- cgit v1.3.1-10-gc9f91