added variations of plesk script for dona and adino
This commit is contained in:
1 parent
bddb3cf1e9
commit
530c4f730b
2 files changed
+26
No files matched your search
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