Python的SSH开发包 Fabric

jopen 12年前
     <p>Fabric 是一个 Python (2.5 或更高) 库和命令行工具,用于连接到 SSH 服务器并执行命令。</p>    <p>示例代码:</p>    <pre class="brush:python; toolbar: true; auto-links: false;">from fabric.api import run  def host_type():     run('uname -s')</pre>    <p><strong>项目主页:</strong><a href="http://www.open-open.com/lib/view/home/1328229430687" target="_blank">http://www.open-open.com/lib/view/home/1328229430687</a></p>    <p></p>