March 07, 2016

CSSH - sudo: sorry you must have a tty to run sudo

problem:
cssh --action 'sudo command' server1 server2

results in error:
"sudo: sorry you must have a tty to run sudo"

solution:
cssh --options '-t -t' --action 'sudo command' server1 server2
Please consider crypto tipping:
  

No comments:

Post a Comment

Comments, Suggestions or "Thank you's" Invited! If you have used this info in any way, please comment below and link/link-back to your project (if applicable). Please Share.
I accept Bitcoin tips of ANY amount to: 1GS3XWJCTWU7fnM4vfzerrVAxmnMFnhysL
I accept Litecoin tips of ANY amount to: LTBvVxRdv2Lz9T41UzqNrAVVNw4wz3kKYk