Revision ad6b7788
b/docs/source/index.rst | ||
---|---|---|
20 | 20 |
|
21 | 21 |
# use unencrypted keys from ssh-agent or ~/.ssh keys, and rely on known_hosts |
22 | 22 |
with manager.connect_ssh("host", username="user") as m: |
23 |
assert(":url" in manager.server_capabilities)
|
|
23 |
assert(":url" in m.server_capabilities) |
|
24 | 24 |
with m.locked("running"): |
25 | 25 |
m.copy_config(source="running", target="file:///new_checkpoint.conf") |
26 | 26 |
m.copy_config(source="file:///old_checkpoint.conf", target="running") |
Also available in: Unified diff