diff --git a/scripte/connect.sh b/scripte/connect.sh new file mode 100644 index 0000000..bd2accc --- /dev/null +++ b/scripte/connect.sh @@ -0,0 +1,20 @@ +#!/bin/sh + +PS3='Bitte wählen: ' +options=("SSH Helix" "SSH Pi-Hole" "Quit") +select opt in "${options[@]}" + +do + case $opt in + "SSH Helix") + ssh helix.lan + ;; + "SSH Pi-Hole") + ssh pi@raspberry.lan + ;; + "Quit") + break + ;; + *) echo "Ungültige Auswahl $REPLY";; + esac +done