View a specific tty session using SSH?
I am running three different applications on a remote Linux computer in different tty sessions (using the ATL+F1, F2, etc.). Each application is currently running in "debug" mode and outputing messages in standard error, within each session.
I need to log in to this remote computer using SSH and be able to view the std error runs of the three different sessions.
Is there a way to chnage your tty session while SSH'ing?
I am using RH Linux V9, Kernel 2.4.20-8 in command line mode on the remote computer. Putty on the other.
Why not redirect std output and error to a file and tail the file from where-ever?
$ <program to run > 2>&1 | tee <program to run>.log &
You should think about just running screen after logging into your tty sessions.
screen will let you disconnect and leave the program running, so you could be at tty, ssh in, etc, and just reconnect to the screen session and it will show you what is going on.
Check it out, it'll fit what you want to do very nicely.
|All times are GMT -5. The time now is 12:06 AM.|