Automating telnet login and commands on a Mac
Posted
by
choise
on Super User
See other posts from Super User
or by choise
Published on 2011-02-15T14:08:29Z
Indexed on
2011/02/15
15:28 UTC
Read the original article
Hit count: 250
Currently I do something like this:
telnet 192.168.0.3 23
username
password
cd /dir/
programname -s -g dosomething
I want to do this with one step, the coolest would be to compile a program for this using Automator, but i have no idea how to do that.
"shell script" in Automator fails at telnet 192.168.0.3 23
saying "connection refused" of course: I had no chance to type in password and so on.
Any ideas?
© Super User or respective owner