View Single Post
Old 02-02-2019, 07:25 AM
rleon rleon is offline
Registered User
Join Date: Jan 2008
Posts: 116
Thank you i tried that

I replaced

With my promit

strJumpHostPrompt = "# "
And I get the error ..


Error: Connection lost

File: /Users/rleon/crt_scripts/nfs2/
Line: 44

        crt.Screen.WaitForString(strCommand + "\r\n")

If i can get this work it would be great .. but the only thing is i have 100's of hosts

Reading from a list would make this script ideal.

with open('/Users/rleon/hosts') as hosts_:
        for host in hosts_:
Reply With Quote