Hi, I am able to ssh to the server but having problem to become the root. Pls see below scripts and advise
ssh = Net::SSH.start("host", "user", :password =>"xxxx") ssh.exec!('sudo su -') ssh.exec!('password') Above scripts does not create any error but it does not switch to root -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http://groups.google.com/group/watir-general watir-general+unsubscr...@googlegroups.com