LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Security (https://www.linuxquestions.org/questions/linux-security-4/)
-   -   Console Automation (https://www.linuxquestions.org/questions/linux-security-4/console-automation-714550/)

snids 03-26-2009 06:02 AM

Console Automation
 
Hi All,

I have a hardware which runs linux. I get the console of it, on a PC's COM / ttyS. I can login to the linux device using that and use it.
I want to know if i can automate the logging (From PC using any scripting application/programming) and run any command in the linux Device. also don't want to make any changes in the device. No SSH is supported.

Thanks in Advance,
Snids

JulianTosh 03-26-2009 06:22 AM

http://pexpect.sourceforge.net/pexpect.html

snids 03-30-2009 02:04 AM

Hi,
You gave me one stop solution!!! that's what i exactly wanted,It was my first question in the forum.
Thanks a lot.
Regards,
snids

JulianTosh 03-30-2009 02:18 AM

Glad it helped!


All times are GMT -5. The time now is 03:27 PM.