examplesΒΆ
Note: all examples with >>> prompts are automatically tested.
- Basic local and remote communication
- Execute source code in subprocess, communicate through a channel
- Remote-exec a function (avoiding inlined source part I)
- Remote-exec a module (avoiding inlined source part II)
- Compare current working directories
- Get information from remote SSH account
- Use a callback instead of receive() and wait for completion
- Sending channels over channels
- A simple command loop pattern
- Instantiate gateways through sockets
- Receive file contents from remote SSH account
- Managing multiple gateways and clusters
- Managing proxied gateways
- Advanced (multi) channel communication
- Connecting different Python interpreters
- Debugging execnet / wire messages