#!/bin/bash BEFEHL=$(kdialog --menu "Programm oder Skript wählen" uptime "Uptime ermitteln" ls "Verzeichnis auflisten") ssh tim@example.com "$BEFEHL"