title: "Error getting tty, exiting' displayed on trying to ssh as admin
body: <p>My code is </p>
  
  <pre><code>c = Net::SSH.start("192.168.x.x", "admin", :password=&gt;"xyz")
  puts c.exec "sh run"
  
  c.close
  </code></pre>
  
  <p>Executing this I get "Error getting tty, exiting". What is the issue here, please help me.</p>
  
  <p>Thanks,
  Jade</p>