From: Ryan Davis Date: 2010-10-14T19:37:20+09:00 Subject: Re: How do i provide password for su command while using net/telnet in ruby On Oct 14, 2010, at 03:22 , Amit Tomar wrote: > Am using Net/TELNET to connect to remote host trying to run su > command in order to get root privilage this is how i doing Please tell me/us that this isn't across an unsecured network. Otherwise, you should switch from telnet to ssh.