Python + SSH Password auth (no external libraries or public/private keys)?

前端 未结 1 380
心在旅途
心在旅途 2020-12-20 09:40

So I\'m aware that you can use Pexpect to solve the issue but i\'d like to not rely on additional libraries to solve the issue other than those supplied with Py

1条回答
  •  一整个雨季
    2020-12-20 10:21

    sigh.. One more google could have spared everyone the trouble.

    os.waitpid(pid, 0)
    

    how to give subprocess a password and get stdout at the same time

    0 讨论(0)
提交回复
热议问题