{"id":"wait-for-ssh-polls-until-available","text":"`ftl.<host>.wait_for_ssh(timeout=120, delay=10)` polls until SSH is available on a host, with `timeout` in seconds and `delay` between retries.","truth_value":"IN","source":"entries/2026/05/11/examples-06-automation-context-example_ping.md","source_url":"","source_hash":"","justifications":[],"dependents":[],"metadata":{"example":"# From cloudflare-stargate/rules/ensure_stargate_linode.py\nresult = await ftl.community.general.linode_v4(\n    label=\"stargate\", type=\"g6-standard-1\", region=\"us-east\",\n    image=\"private/37121878\", state=\"present\",\n)\nip = result.get(\"instance\", {}).get(\"ipv4\", [None])[0]\nif ip:\n    await ftl.wait_for(host=ip, port=22, timeout=300)"},"explanation":{"steps":[{"node":"wait-for-ssh-polls-until-available","truth_value":"IN","reason":"premise"}]}}