python - Libs for work with SSH -


counsel library work ssh. main requirement normal operation utility sudo. have tried , suffering:

  • paramiko - can not sudo @ all, trying after call serve in stdin password, sudo wrote type: "no ttys present"
  • pxssh - mmmmmm, slow, very slow, awkward
  • fabric - can sudo in ideal world, there work different users , need send password ?

have normal libraries work sudo, or not?

rather force sudo work without tty, why not paramiko allocate tty?

paramiko , pseudo-tty allocation


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -