Register a domain and help support LQ
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 02-01-2004, 02:01 PM   #1
LQ Newbie
Registered: Oct 2003
Location: Pleasanton, CA USA
Posts: 13

Rep: Reputation: 0
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.
Old 02-03-2004, 02:55 AM   #2
Registered: Aug 2003
Location: Newington, Sydney, Australia
Distribution: Fedora Whitebox 4 Ubuntu
Posts: 40

Rep: Reputation: 15
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 &

Old 02-03-2004, 02:16 PM   #3
Registered: Feb 2003
Distribution: debian
Posts: 56

Rep: Reputation: 15
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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
kill a specific session in windows rabeea General 8 12-15-2004 04:10 PM
direct ssh commands to local tty? mikeybsae Linux - Software 1 08-18-2004 04:42 PM
View remote SSH session nikko Slackware 2 06-17-2004 02:46 AM
Communication between ssh and a tty paulten Linux - Networking 3 05-20-2003 05:46 PM
View TTY in X ryanstrayer Linux - General 4 02-09-2002 08:20 PM

All times are GMT -5. The time now is 04:13 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration