From 306ed11aedd8c760e21d42f693151ddb89cf24be Mon Sep 17 00:00:00 2001 From: "root@culturestrings" Date: Mon, 18 May 2020 08:20:49 +0000 Subject: sshd: added current configuration. --- public/fs/etc/ssh/sshd-config.sh | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 public/fs/etc/ssh/sshd-config.sh (limited to 'public/fs/etc/ssh/sshd-config.sh') diff --git a/public/fs/etc/ssh/sshd-config.sh b/public/fs/etc/ssh/sshd-config.sh new file mode 100755 index 0000000..7661108 --- /dev/null +++ b/public/fs/etc/ssh/sshd-config.sh @@ -0,0 +1,7 @@ +#!/bin/sh + +set -eu + +source /root/config/private/fs/etc/server.ports + +sed -e 's/@ssh_port@/'${ssh_port}'/g' "$1" -- cgit v1.2.3