Cookbook¶
Recipes for common patterns when working with otto. Each recipe includes runnable doctests where possible and illustrative code blocks for patterns that require live remote hosts.
- Async Patterns
- Sessions and Periodic Tasks
- Suite Recipes
- Connection options
- Repo-wide defaults
- Non-standard SSH port
- Disabling strict host-key checking for a lab host
- Persistent local port forward through a host
- FTPS instead of plain FTP
- Tuning SCP block size for slow links
- Telnet with live terminal resize
- Per-call overrides on
get_host()/all_hosts() - Escape hatch: the
post_connecthook