added variations of plesk script for dona and adino
This commit is contained in:
Executable
+13
@@ -0,0 +1,13 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Get the servername argument
|
||||
|
||||
servername="$1.adino.at"
|
||||
|
||||
# Define the username
|
||||
|
||||
username="eign01_easyname.at" # Wenn WHUSER als Umgebungsvariable gesetzt ist, wird dieser verwendet. Sonst Usernamen eintragen.
|
||||
|
||||
# Open SSH connection and execute the command
|
||||
|
||||
ssh $username@$servername -t "sudo plesk login"
|
||||
Executable
+13
@@ -0,0 +1,13 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Get the servername argument
|
||||
|
||||
servername="$1.inname.net"
|
||||
|
||||
# Define the username
|
||||
|
||||
username="${WHUSER:?Bitte WHUSER setzen!}" # Wenn WHUSER als Umgebungsvariable gesetzt ist, wird dieser verwendet. Sonst Usernamen eintragen.
|
||||
|
||||
# Open SSH connection and execute the command
|
||||
|
||||
ssh $username@$servername -t "sudo plesk login"
|
||||
Reference in New Issue
Block a user