Added Plesk Admin Panel script

This commit is contained in:
2025-09-11 11:58:36 +02:00
parent 5706152a82
commit 0176624bf3
4 changed files with 62 additions and 17 deletions
+9
View File
@@ -0,0 +1,9 @@
#!/bin/bash
# Get the servername argument
servername="$1.wh20.easyname.systems"
# Define the username
username="${WHUSER:?Bitte WHUSER setzen!}" # Wenn WHUSER als Umgebungsvariable gesetzt ist, wird dieser verwendet. Sonst Username eintragen.
# Open an SSH connection and execute the command
ssh $username@$servername -t "sudo plesk login"