budibase/hosting/single/ssh/ssh_setup.sh

8 lines
106 B
Bash
Raw Permalink Normal View History

2022-09-13 17:08:54 +02:00
#!/bin/sh
ssh-keygen -A
#prepare run dir
if [ ! -d "/var/run/sshd" ]; then
mkdir -p /var/run/sshd
fi