moved ssh connectivity to separate script