#!/bin/sh question() { echo "Who do you want to connect to?" echo "d. Droplet" echo "m. Metis" echo "e. Exit" } while true; do question read answer case $answer in d) # Don't run .bashrc when shelling out to this server as it would just run this script again bash --norc ;; m) ssh redacted@redacted ;; e) exit ;; esac done