From: Guilherme Viteri Date: 2010-09-08T21:25:33+09:00 Subject: Ruby executing shell commands Hi All, My scenario seems like: 1 host machine and many others virtual machines. (exampling: Windows as host and VM Linux Ubuntu). I'm looking for a Ruby implementation that manipulates the IPTables on this virtual machines. I mean the host machine will have a ruby program that will interact to these virtual machines. I've figured out many sites I've found a library Net-ssh. When I've tried to run an 'iptables -L', it shows me 'no tty present and no askpass program specified'. And looking at Net-ssh API examples to perform shell interaction, however I can't run any example... I've tried many other things too, all of them was unsuccessful. Of course I'm ruby newbie. =) Could you guys help me please ?? I will really appreciate that =P Thanks a lot -- Posted via http://www.ruby-forum.com/.