When connecting using ssh2, how can the window prompting for user id and password be suppressed when a global logon script exists?
Logins cannot be scripted with SSH connections. Logon scripts are used for telnet or serial connections where you need to watch for and respond to prompts presented by the host using WaitFor() and SendText(). If you are using a mix of both SSH and Telnet sessions, using the global login script is not a good place to do this. Use the Options->Properties->Scripts instead, which is a session specific script you can apply to only telnet connections.
In SSH, authentication is part of the SSH protocol. If you want to login without being prompted, you can simply enter your username and password (or private key) in the authentication dialog and click 'remember password'. Be sure to also File->Save your connection settings to make this permanent. In this way, scripting is not required for authentication. You can still use the logon script to do other things (wait for shell prompt, run programs, read output, etc) that happen after authentication.
Let me know if this helps...
Brian
Did my answer help?
Brian