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

Add email recipient to all new Trac tickets -

400 Bad Request on Apache/PHP AddHandler wrapper -

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