I want to get output/input from
/dev/ttyX console (normally accessible directly using keys
where Nr is number of
I want to view and control these consoles over ssh (which normally uses virtual
/dev/pts console like desktop applications (xterm) does). I need something to either connect from normal virtual terminal (
/dev/ttyX, or switch consoles.
For physical devices like
/dev/ttyUSBX utilities like
screen after setting baud rate are working well. I tried to apply similar methods for virtual
/dev/ttyX but sessions only hang: output send from
screen gets to tty, but are not executed and input does show (
ctrl+alt+f4 shows output but it does not get executed, neither while writing anything shows up in
screen: like I would be using
echo nonsense >> /dev/tty4 but not having real session).
minicom does the same. Either I am abusing utilities or I don't know how to properly setup tty's.
Should I do something with
getty? It seems that it is important here too.
Any ideas how to connect to
I am using Linux with systemd if that is important.