python登录执行命令
摘要:#-*- coding: utf-8 -*- #!/usr/bin/python import paramiko import threading import getpass def ssh2(ip,username,passwd,cmd): try: ssh = paramiko.SSHClient() ssh.set_missing_host_k...
阅读全文
posted @ 2016-10-15 20:25
浙公网安备 33010602011771号