VanDyke Software Forums

VanDyke Software Forums (
-   Scripting (
-   -   Issues with remote accepting password in vbScript (

umbongo 12-16-2015 05:09 AM

Issues with remote accepting password in vbScript

I have recently started having inconsistent problem with passwords on some remote devices using a script that I have been using for some time. I'm not sure if the problem is with the authentication server, authentication client or the way the password is being supplied and so far my troubleshooting efforts have not found the root cause. The output on screen shows a password (supposedly, as it is not asking me to change my password as would happen if it was blank) being entered and authentication failing. The failed passwords are not consistent across devices. I have a list of devices to try and it fails randomly on different devices every time. If I manually log in it works every time and the logs on the far end device just show a failed login attempt when the script fails.

Here's what I have tried so far:
I have tried switching on raw logging to see if I can see exactly what way the password is being entered, but unfortunately that reveals nothing as the password is still not displayed.
I have output the value of the password variable to the user to ensure it shows what is expected, and it does.
I have also introduced a 500ms delay between the password being sent and the return key in case SecureCRT was being too fast entering it, but again it has made no difference.
FYI, synchronous is set to true and I have code handling different WaitForStrings.

Question: Can someone offer some suggestions how to troubleshoot this issue further?:confused:

(I don't have root permission to enable me to run tcpdump)

7.2.3 (x64 build 500)


bgagnon 12-16-2015 08:28 AM

Hi umbongo,

I would feel more comfortable trying to troubleshoot a password issue via email instead of in the public forums.

Please send an email to and reference "Attn Brenda - Forum Thread #12189" in the subject line.

Please include what OS/platform you are running SecureCRT on.

All times are GMT -6. The time now is 12:18 AM.