From: Robin L. P. <rlp...@di...> - 2009-06-09 05:37:51
|
On Mon, Jun 08, 2009 at 10:24:47PM -0700, Satish Pothuri wrote: > Below is the case where I want interrupt, I dont want to wait for > about 4 mins (telnet timeout). By hand I can do this using Ctrl-C, > but unable to perform the same through expect. > > # telnet 192.168.1.106 670 > Trying 192.168.1.106... > ------> pressed Ctrl-C here Huh. I don't know why that's not working. The best solution I can think of is making another ssh connection (since the telnet is running remotely, correct?) and sending a kill that way. -Robin |