better ssh exception handling