[Expect] Urgent: Timed oud getting standard prompt using Expect and SSH
by Yaron Peryanty other posts by this author
Mar 9 2008 3:16AM messages near this date
view in the new Beta List Site
Re: [Expect] Expect Digest, Vol 44, Issue 2
|
[Expect] Controlling the buffer send to Expect
Hi,
My script uses Expect 5.8.7 with TCL and plink.exe (version 0.59) to
connect to Solaris machine via SSH protocol.
On some cases I am having troubles with the Script when I am using SSH.
Expect sometimes (on some cases it works and on some it doesn't) receive
time-out when it wait for standard prompt.
I did some tests and from about 10 tests 4 fail with time out waiting
for standard prompt and all the rest successfully run.
On the other hand running plink.exe manually on the same machine with
the same information (user, password) run successfully.
I suspect the Tectia server as the cause for the problem (The Tectia
server is installed on the Solaris machine).
BTW - I enabled Expect internal diagnostics and did lots of tests to
eliminate prompts problems or bugs in my script. In addition the same
scripts works perfectly fine on AIX, Linux or Telnet protocol.
Maybe someone encounter time-out problems with Expect, plink.exe and
Tectia Server?
Thanks for your help,
Yaron
|