Hmm. Why not just capture all Net::SSH::Exception class exceptions?

https://github.com/net-ssh/net-ssh/blob/master/lib/net/ssh/errors.rb#L4