If I am executing plink with these parameters manually then all works perfectly. When I am executing plink with these parameters through IPC::Run, only next command are executed:

Code

enable <password for enable> configure term enable

Problem is that after typing <new password for enable> I am receiving response "*******" instead of "****** Re-type password:", so my "\n" is not parsed as end of line. But for all previous commands "\n" is parsed correctly.

May be I just should put some other special symbol at the end of the line? But how to understand what? Or may be how can I find this character automatically, I mean some loop like send("0x00"); send("0x01"); send("0x02"); send("0x03"); ... send("0xFF");

I can not find other library that works good under Win32 and provides functionality similar to IPC::Run or which works with both SSH1 and SSH2. Can anybody suggest some library that works for sure without problems under Win32?