BASH script for checking and creating a SSH tunnel