def main():
ip = '127.0.0.1'
user = 'test'
passwd = 'test@passwd'
cmd = 'df -h'
remote_ssh(ip, user, passwd, cmd)
if __name__ == '__main__':
main()
def main():
ip = '127.0.0.1'
user = 'test'
passwd = 'test@passwd'
cmd = 'df -h'
remote_ssh(ip, user, passwd, cmd)
if __name__ == '__main__':
main()
内容版权声明:除非注明,否则皆为本站原创文章。
转载注明出处:http://www.heiqu.com/54d567b9d80d27ebacea1a88d68da893.html