LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices

Reply
 
LinkBack Search this Thread
Old 02-01-2004, 01:01 PM   #1
intermod
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, 01:55 AM   #2
bobthebaritone
Member
 
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 &

Cheers
 
Old 02-03-2004, 01:16 PM   #3
Unseen
Member
 
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.
 
  


Reply


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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


All times are GMT -5. The time now is 08:56 AM.

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