From: botp Date: 2012-03-23T01:13:22+09:00 Subject: Re: SSH hangs for a particular command in SSH.exec!(cmd) On Thu, Mar 22, 2012 at 3:36 PM, Meena Valliappan wrote: >    Net::SSH.start(host, username, :password => password) do |ssh| >    puts 'before exit' >    output = ssh.exec!('/opt/wcsadmin.sh start') >    puts 'Executed command' 1 check your logs 2 check your username, it might not be root 3 try using the block format of ssh exec btw, pls show versions of ruby and net-ssh and actual screenshots kind regards -botp