diff options
author | root@culturestrings <root@culturestrings> | 2020-05-18 08:20:49 +0000 |
---|---|---|
committer | root@culturestrings <root@culturestrings> | 2020-05-18 08:20:49 +0000 |
commit | 306ed11aedd8c760e21d42f693151ddb89cf24be (patch) | |
tree | a8742d3347761ad4e0ab3195549a6ab6c438e6f0 /public/fs/etc/ssh/sshd-config.sh | |
parent | 16a71a0628417b1b1eda564a88eb98b53a2db3cb (diff) | |
download | culturestrings-306ed11aedd8c760e21d42f693151ddb89cf24be.tar.bz2 culturestrings-306ed11aedd8c760e21d42f693151ddb89cf24be.tar.xz |
sshd: added current configuration.
Diffstat (limited to 'public/fs/etc/ssh/sshd-config.sh')
-rwxr-xr-x | public/fs/etc/ssh/sshd-config.sh | 7 |
1 files changed, 7 insertions, 0 deletions
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" |