[SGVLUG] Automating (scripting) telnet

Ted Arden ted at tux.org
Tue Feb 21 13:29:55 PST 2006


On Tue, 21 Feb 2006, Emerson, Tom wrote:

> If I just "feed" this to telnet, i.e., "telnet <cmds", it doesn't work
> -- telnet doesn't seem to "wait" for the server to actually be "ready
> for input" before sending the commands -- it might see "user <me>",
> for instance, but only get "last-half-of-password>" as the next
> "command" since my client would have started sending it before the
> server responded with "OK, hello <you><crlf>".

hummm.. you may be able to mod this:

http://modp.com/release/sshpasswords/
same sort of idea. (more or less)

> any thoughts?




More information about the SGVLUG mailing list