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 MatrixGod 阅读(296) 评论(0) 推荐(0) 编辑