scripts/sshconnect.sh
2025-03-26 21:37:21 +01:00

18 lines
347 B
Bash
Executable File

#!/bin/bash
ps3="What server do you want to connect to?"
select server in Nextcloud Wireguard Jellyfin Quit
do
if [ $server == Nextcloud ]
echo "You are connecting to $server"
then
ssh nextcloud@192.168.1.205
elif [ $server == Wireguard ]
then
ssh wireguard@192.168.1.202
elif [ $server == Jellyfin ]
then ssh jellyfin@192.168.1.225
fi
done