class Net::SSH::Authentication::Methods::Abstract

def send_message(msg)

will block until the message is completely sent.
Sends a message via the underlying transport layer abstraction. This
def send_message(msg)
  session.transport.send_message(msg)
end