нашел решение в виде проги SecureCRT и скрипта
def main():
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()