added exception handling for Net::SSH::Exception