Loading tests/test_ssh.py 0 → 100644 +12 −0 Original line number Diff line number Diff line import paramiko client = paramiko.SSHClient() client.load_system_host_keys() client.connect("localhost", 2022, "root", "ibm") stdin, stdout, stderr = client.exec_command("eeadm task list --json") output = stdout.readlines() print(output[0].rstrip()) client.close() Loading
tests/test_ssh.py 0 → 100644 +12 −0 Original line number Diff line number Diff line import paramiko client = paramiko.SSHClient() client.load_system_host_keys() client.connect("localhost", 2022, "root", "ibm") stdin, stdout, stderr = client.exec_command("eeadm task list --json") output = stdout.readlines() print(output[0].rstrip()) client.close()