On Thu, 17 Jul 2008, Simon Chen wrote:
My experience is that JUNOScript would try to initiate the connection
to a weird port - I cannot remember which port that it, but you can
find out easily by doing a tcpdump.
Basically what I did was locating that port number in the source code
and changing it to 22.
Hope this helps.
Lots of bugs in the JUNOscript API code, too. I'm getting a patch
ready. Hint - look at the disconnect routine. None of those waits
ever execute and if they did, the WNOHANG specification is incorrect
and would yield undef or basically wait. There are race issues
which wll frequently result in a hang. The recv also sometimes
aborts with Interrupted system call, also.
Mike
-Simon
On Thu, Jul 17, 2008 at 12:04 PM, Boyd, Benjamin R
<[EMAIL PROTECTED]> wrote:
All,
I'm playing with JUNOScript and after installation I get the following
error:
[get_chassis_inventory]# perl get_chassis_inventory.pl x.x.x.x -m ssh
login: *****
password:
ERROR[1]: recv failed: EOF
ERROR[2]: initial handshake with JUNOScript server failed
Has anyone seen this or know the fix/cause?
-Ben
***************************************************************************************
The information contained in this message, including attachments, may contain
privileged or confidential information that is intended to be delivered only to
the
person identified above. If you are not the intended recipient, or the person
responsible for delivering this message to the intended recipient, Windstream
requests
that you immediately notify the sender and asks that you do not read the
message or its
attachments, and that you delete them without copying or sending them to anyone
else.
_______________________________________________
juniper-nsp mailing list [email protected]
https://puck.nether.net/mailman/listinfo/juniper-nsp
_______________________________________________
juniper-nsp mailing list [email protected]
https://puck.nether.net/mailman/listinfo/juniper-nsp
-
Mike Porter
PGP Fingerprint: F4 AE E1 9F 67 F7 DA EA 2F D2 37 F3 99 ED D1 C2
_______________________________________________
juniper-nsp mailing list [email protected]
https://puck.nether.net/mailman/listinfo/juniper-nsp