python代码:本地压缩文件,然后连接远端linux,上传文件,解压,安装
# -*- coding: utf-8 -*-
import time
import tarfile
import paramiko
import commands
import os
class master():
"""
Compress file and use SSH to push the .tar file to remote,
th
原创
2015-03-13 16:50:10 ·
811 阅读 ·
0 评论