testing mysql connection and ssh ability