Fixed hanging ssh bug FINALLY