def wait_for_ssh(host, port=<NUM_LIT>, timeout=<NUM_LIT>):
log_yellow('<STR_LIT>')<EOL>for iteration in xrange(<NUM_LIT:1>, timeout): <EOL><INDENT>sleep(<NUM_LIT:1>)<EOL>if is_ssh_available(host, port):<EOL><INDENT>return True<EOL><DEDENT>else:<EOL><INDENT>log_yellow('<STR_LIT>')<EOL><DEDENT><DEDENT>
probes the ssh port and waits until it is available