Sunday 11 December 2011

How to run Continous Telnet from windows PC to Linux Telnet Server

Note : The Telnet server should be working properly in Linux.

To run continuous Telnet on Linux Server , create a file "telnetloop" file in linux:

The file should have following information:

while true
do
ls -laR
done

Now change the permission of the file using command "chmod +x telnetloop"

From windows machine now do telnet to the Linux machine, login with username and password.

Now run the script using command ./telnetloop