„scripts/start-server.sh“ ändern

This commit is contained in:
2022-02-06 11:44:06 +01:00
parent b2e8538715
commit 9e05728f33

View File

@@ -1,5 +1,5 @@
#!/bin/bash
mkdir -p /root/ssh /root/wireguard
mkdir -p /root/ssh
if [ ! -f /root/ssh/ssh_host_rsa_key ]; then
echo "---No Host RSA Key found, generating!---"
ssh-keygen -f /root/ssh/ssh_host_rsa_key -t rsa -b ${RSA_BITS} -N ""