how do i execute a set of commands in telnet??

I have list of commands in a file in one sever and i need to execute these set of commands in the server to which i m telnetting to ..

Extremely difficult in telnet. You may have to use a third-party brute-forcing utility like expect.

If ssh is available to you, it will be trivial.

ssh host < commands

thanks corona :slight_smile: :slight_smile:

Copy the script to the remote server and execute it there.

1 Like

gud 1 :slight_smile:
thanks again methyl :slight_smile:
mere use of sense :slight_smile:
thanks a ton :slight_smile:

1 Like