How to enter password on asyncssh.run(“sudo su”) and continue to input commands?

前端 未结 0 1425
遇见更好的自我
遇见更好的自我 2021-01-15 13:37

In the python 3 script I need to enter a few commands under root priveleges via asyncssh.

Something like this code sample:

async with asyncssh.connect(         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题