Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- clear
- cat <<EOF
- _____ _____ __ __ ___ ___ ___ ____ __ __
- / ___// ___/| | || | | / _]| \ | | |
- ( \_( \_ | | || _ _ | / [_ | _ || | |
- \__ |\__ || _ || \_/ || _]| | || | |
- / \ |/ \ || | || | || [_ | | || : |
- \ |\ || | || | || || | || |
- \___| \___||__|__||___|___||_____||__|__| \__,_| v.1.0
- _____ _____ _____ _____ _____ _____ _____ _____
- | || || || || || || || |
- |_____||_____||_____||_____||_____||_____||_____||_____|
- 1) swain.pw - Swain's development box
- 2) cloud.swain.pw - Swain's Cloud backup server
- 3) box.swain.pw - Media server
- 4) vpn.swain.pw - VPN server
- 5) dedi.swain.pw - Dedicated server
- EOF
- echo -n "Connect to > "
- read character
- case $character in
- 1 ) clear
- echo "connecting to swain.pw"
- ssh root@swain.pw
- ;;
- 2 ) clear
- echo "connecting to cloud.swain.pw"
- ssh root@cloud.swain.pw
- ;;
- 3 ) clear
- echo "connecting to box.swain.pw"
- ssh root@box.swain.pw
- ;;
- 4 ) clear
- echo "connecting to vpn.swain.pw"
- ssh root@vpn.swain.pw
- ;;
- 5 ) clear
- echo "connecting dedi.swain.pw"
- ssh root@dedi.swain.pw
- ;;
- * ) echo "You did not enter a valid server id"
- echo "between 1 and 4."
- esac
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement