On Wed, 2003-07-30 at 02:48, anil garrepally wrote:
> Can anyone tell me how to write a  Bash script, that will do 
> telnet login to one machine and do some activity on that logged 
> machine.
> 
> I was informed that .telnetrc file will help,if so what is the 
> entry i should add in to that file.
> 
> where can i found Any kind of information related to scripting for 
> Networking activities.Any help would be appreciated.

My suggestion would be to use ckermit.  It's included with Red Hat Linux
and is an extremely powerful scripting language.

Alternatively, copy the script over to the other machine and then use an
ssh or rsh commmand line to execute it.  i.e.
$ scp foo system:
$ ssh system ./foo
The later example would only work if the script doesn't require any
input of course.

-- 
Ed Wilts, Mounds View, MN, USA
mailto:[EMAIL PROTECTED]
Member #1, Red Hat Community Ambassador Program


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list

Reply via email to