A free, open, self-hosted app platform (GNU AGPLv3): one-click app deploys, Traefik reverse proxy with automatic SSL, rootless Docker support, gluetun VPN routing, and a web dashboard to manage it all. Free & open forever to self-host; optional paid hosted services fund it. See PROMISE.md. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> Signed-off-by: librelad <librelad@digitalangels.vip>
25 lines
649 B
Bash
Executable File
25 lines
649 B
Bash
Executable File
#!/bin/bash
|
|
|
|
regenerateSSHSetupKeyPair()
|
|
{
|
|
local username="$1"
|
|
|
|
while true; do
|
|
isQuestion "Are you sure you want to generate new SSH Key(s) for the $username user? (y/n): "
|
|
read -p "" key_regenerate_accept
|
|
case "$key_regenerate_accept" in
|
|
[Yy]*)
|
|
generateSSHKeyPair "$username" "$private_key_path" "$private_key_full" "$public_key_full" reinstall;
|
|
break
|
|
;;
|
|
[Nn]*)
|
|
# No action needed
|
|
break
|
|
;;
|
|
*)
|
|
echo "Please enter 'y' or 'n'."
|
|
;;
|
|
esac
|
|
done
|
|
}
|