class Net::SSH::Transport::Session
def shutdown!
when the connection needs to close but you don't know the status of the
never be done, but it might be necessary (in a rescue clause, for instance,
Performs a "hard" shutdown of the connection. In general, this should
def shutdown! error { "forcing connection closed" } socket.close end