LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Gentoo
User Name
Password
Gentoo This forum is for the discussion of Gentoo Linux.

Notices


Reply
  Search this Thread
Old 12-07-2009, 04:21 PM   #1
dragos240
Member
 
Registered: Apr 2009
Posts: 64

Rep: Reputation: 15
Can I SSH into a tty terminal?


For example, say I want to check how my kernel is doing if I am compiling my kernel. Or maybe I ssh'ed into my computer, and echo "HELLO" > /dev/tty12, and I want to view the result in tty12. Can I do this?
 
Old 12-07-2009, 04:46 PM   #2
rweaver
Senior Member
 
Registered: Dec 2008
Location: Louisville, OH
Distribution: Debian, CentOS, Slackware, RHEL, Gentoo
Posts: 1,833

Rep: Reputation: 167Reputation: 167
The easy way is to use the most underutilized program in *nix.

Screen, it lets you have a terminal you can detach and reattach later to the same terminal or another. You could for instance open it on a console and then detach it and logout. Come back 2 hours later via ssh and reattach to the screen session and pick up like you never logged off.

Spectacular program.

I wrote a blog post about Screen -- the basic use of it and what not. I'm not going to c&p (because all the html would need reformatted and I don't wanna spend 30m reformatting it.)

It will be part of the standard distribution you use... just emerge it and you should be good to go. Just remember you have to be the same user who started the screen session to reattach it.

Last edited by rweaver; 12-07-2009 at 04:48 PM.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Terminal for Linux (real tty) mpeg2server Linux - Hardware 5 08-26-2009 07:37 PM
Login domain users thru TTY / Terminal j3r3my86 Linux - Networking 3 07-24-2008 11:44 AM
TTY and System Terminal mail linx001 Linux - General 2 12-06-2005 04:43 PM
Detecting TTY terminal messages? stockwatch Linux - Security 5 05-23-2005 08:40 PM
tty usb terminal? DarkstarNL Linux - Hardware 0 04-21-2004 09:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Gentoo

All times are GMT -5. The time now is 06:46 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration