ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> expect
expect
[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

 

 

 

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved