Files
dokku/contrib/images/digitalocean/in_parts/011-ssh-message
T
Jose Diaz-Gonzalez 96c737eae4 refactor: update digitalocean image building to match what Digitalocean does
The scripts run/installed on the server are based on what was given to me by Digitalocean in 2019, so they may have diverged a bit since.
2023-02-16 14:19:10 -05:00

10 lines
249 B
Bash
Executable File

#!/bin/bash
set -eo pipefail
echo '--> Prevent login until after setup is complete'
# Be a bit of a dork about login in
cat >>/etc/ssh/sshd_config <<EOM
Match User root
ForceCommand echo "Please wait while we get your droplet ready..."
EOM