listfile=options.listfile
username = options.username
passwd = options.password
port = options.port
rcmd...os.rename(infofile,infofile+time_now)
info = open(infofile,"a")
def execmd(host,port,username,passwd,rcmd...))
client.connect(host,port=int(port),username=username,password=passwd,timeout=1)
#rcmd...(rcmd)
#info.write(host+"\n"+"@"*20+"\n")
for line in stdout:
info.write(...="sh /tmp/%s"%scriptfile
execmd(host,port,username,passwd,rcmd)
info.close()