Automating telnet login and commands on a Mac
- by choise
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?