Click to See Complete Forum and Search --> : tty and putty
skizrule
03-12-2003, 10:14 PM
Is there any way to view different tty consoles on a Linux box when connected via SSH through Putty? I have Seti@home printing its status to /dev/tty12, and while I can view it on the physical box, I'd like to be able to view it through SSH.
Fryguy8
03-12-2003, 10:16 PM
try 'cat'ing the terminal device
Magueta
03-12-2003, 10:16 PM
What OS are you running?
Joe
skizrule
03-12-2003, 11:09 PM
I'm running Slackware 8.1
bastard23
03-13-2003, 02:27 AM
skizrule,
Look into the screen program.
"screen - screen manager with VT100/ANSI terminal emulation" quoth the man page.
Which means you can use many different "terminals" over the same link (ssh, a serial cable, or an old vt100 terminal, whatever). Then you can create a new "terminal" (Control-A c) and use Fryguy8's recommendation of cating the terminal (cat </dev/tty12), then go back to your shell (Control-A 0 - zero in case you font is weird). Control-A 1 to get back to the output of SETI at home. Plus, if you just kill the ssh connection or do a Control-A d (don't exit the programs running under screen), the next time you login you can run 'screen -r' and you will be right back in your old session with all the programs still running. Added bonus is that I'm positive Slackware has a package for it.
It makes me smile.
Good Luck,
chris