Untitled
unknown
python
2 years ago
310 B
3
Indexable
Never
from vpnode import VPNode, Logger node = VPNode(vpn_server, vpn_login, vpn_pwd, ssh_server, ssh_login, ssh_pwd) status = node.connect() print(status) # True stdout, stderr = node.run("uname -n") Logger.info("stdout:") print(stdout) # datarmor # node.qstat(), node.qdel(), node.qsub(), ... node.disconnect()