摘要: 1 [root@80sa script]# cat ssh.py 2 #!/usr/bin/env python 3 #coding:utf-8 4 5 import paramiko 6 7 #远程服务器地址 8 #ip = '192.168.0.226' 9 file = open("iplist.txt","r")10 all = file.readlines()11 for ip in all:12 print ip,13 14 #端口15 port = 999916 17 #用户名18 username = "jess 阅读全文
posted @ 2013-07-08 17:15 study-notes 阅读(610) 评论(0) 推荐(0)