ssh.utils

ssh.utils.wait_socket(session, sock, timeout=None)

Helper function for testing non-blocking mode.

This function blocks the calling thread for <timeout> seconds - to be used only for testing purposes.