In Linux environment or unix/Solaris based environments remote telnet is always a must to learn. Here below I give you a step by step aprotch to use remote telnet and also if you wish to automate the remote telnet session, I will provide you code examples and also C code which is however is not free could be provided based on request, It is a great help in automation and save lots of time which we do manually could be done just from a script every time.
A start a telnet session you must have a login on that remote machine if you don't have ask you system administrator to create a one for you.
>> telnet <ipAddress> -l <userid>
>>password: <password>
expect programming also provide methods controling telnet sessions from scripts.
below is an example.
|