Redirect SSH i/o to tty console
I have an xbox that i have installed debain to, however I have no
keyboard or mouse, which is fine as i connect over ssh..
However it is annoying to be looking a small terminal window on my
laptop when i have a massive TV in front of me displaying a login
Is there anyway to redirect the ssh terminal i/o so that it is
displayed in on tty0 (the TV)?
echo "hello" >> /dev/tty0
does the expected and outputs to the monitor but seems to move along by 1 tab(?) every new line (looks like it isnt reseting the position/framebuffer).
Thanks in advance.
You can recompile sshd with the --use-login option, and point it at something like ttysnoop. When combined with some modifications to your boot scripts, you could make it so the XBox boots up and shows the SSH session on the screen.
Though honestly...I would just go on eBay and get a XBox-USB adapter for ~$4, or take the 5 minutes it takes to build one yourself. It would be much easier.
hello there! this is my first post. i am new to linux and i'm happy that i've found this thread. but reading MS3FGX reply doesn't seem to help. can anyone point me to something that will show me detailed procedure on how to do this? yes, i want display everything happens on my ssh session/terminal to ttyx on my linux box. (i use putty.exe on windows). my apologies if i used wrong linux terminologies here. thanks in advance.
|All times are GMT -5. The time now is 02:03 AM.|