Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
found a solution in the form of the SecureCRT program and the
def main() script:
crt.Screen.Synchronous = True
# connect to host on port 23 (the default telnet port)
#
crt.Session.Connect("/TELNET login.myhost.com 23" )
crt.Screen.WaitForString("ogin:")
crt.Screen.Send("myusername\r")
crt.Screen.WaitForString("assword:")
crt.Screen.Send("mypassword\r")
crt.Screen .Synchronous = False
main()
sh+expect. But this is for *nix. However, with cygwin installed, this solution is also suitable.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question