Increase ssh timeout to 30 seconds

The previous 5-second timeout causes random errors during compilation here, increasing it to 30 seconds solves this problem.