redirecting physical console output
This isn't a question on how to use a client like PuTTY to access a terminal session over SSH. What I am looking for is a software solution which, once the boot process is complete, "forks" the primary console input and output to a remote terminal program over a defined port, while allowing the primary console to be active simultaneously - similar to a remote control program for That Other Operating System (I notice the forum rules prohibit the mention of the name here :-)) Why do I need it? Well, if you use PuTTY to connect to a console session, and start a program running, if the ssh connection fails, the console session dies and kills the program. Also, no one at the physical console can see what you are doing. I need to find a way to keep a persistent session mirroring the physical console, and re-connect to it if the connection fails. There is a lot of stuff on the internet on (perhaps) how to do it over a COM port connected to KVM hardware, but almost nothing about how to do it over a port. Is this even possible? I use a Centos-based distribution. Any pointers would be gratefully appreciated.
|