add connect compute function with ssh