from fabric import Connection

c = Connection(host="192.168.1.1", port=22, user="root", connect_kwargs={"password":"123456"})

c.run("uname -a")

相关文章:

  • 2022-12-23
  • 2022-03-03
  • 2021-12-19
  • 2021-09-20
  • 2021-10-29
  • 2021-11-16
  • 2018-11-15
猜你喜欢
  • 2021-10-24
  • 2021-12-25
  • 2021-08-20
  • 2021-07-30
  • 2022-03-02
  • 2021-10-26
  • 2021-05-29
相关资源
相似解决方案