Make a shell script execute commands in telnet or programs

Telnetd - Linux Shell Scripting Tutorial - A Beginner's Jul 17, 2017 Shell script for telnet and run commands - CCM Mar 03, 2012

Telnet scripting server [closed] Ask Question Asked 7 years, 10 months ago. Active 7 years, 10 months ago. Viewed 190 times -2. As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or

Automating Telnet with PowerShell; Automating Telnet Script; Is it possible to use a batch file to establish a telnet session, send a command and have the output written to a file? Scripting windows Telnet; Automate telnet commands from DOS; SSH.NET; Posh-SSH: Open Source SSH PowerShell Module; SSH Client using PowerShell; SSH PowerShell Module scripting a telnet session in lua I’m trying to script a session against a telnet server (login, run a few commands within a menu-driven interface, then close the session). I’m using lua sockets. My code appears below. I’m not getting the expected results, though the code seems to run OK. I’m trying to figure out how I can “see” what’s going on during the session. Manual:Scripting - MikroTik Wiki

I’m trying to script a session against a telnet server (login, run a few commands within a menu-driven interface, then close the session). I’m using lua sockets. My code appears below. I’m not getting the expected results, though the code seems to run OK. I’m trying to figure out how I can “see” what’s going on during the session.

scripting a telnet session in lua