I'm testing the example program telnetexample.go from a window machine. I'm able to telnet from the windows telnet client to a ubuntu machine (on network) running telnet server. However when I run the example program for the same ubuntu host using credentials, the programs waits on vendor.Login(t, username, password) forever. I believe it is expecting some regex match in this step , prompt, err := t.WaitForRegexp(promptRE) in jnpr/ioproc.go forever.
Any suggestions as to what could be wrong and how it can be fixed?
I'm testing the example program telnetexample.go from a window machine. I'm able to telnet from the windows telnet client to a ubuntu machine (on network) running telnet server. However when I run the example program for the same ubuntu host using credentials, the programs waits on vendor.Login(t, username, password) forever. I believe it is expecting some regex match in this step , prompt, err := t.WaitForRegexp(promptRE) in jnpr/ioproc.go forever.
Any suggestions as to what could be wrong and how it can be fixed?