Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Distributions > Gentoo
User Name
Gentoo This forum is for the discussion of Gentoo Linux.


  Search this Thread
Old 12-07-2009, 05:21 PM   #1
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, 05:46 PM   #2
Senior Member
Registered: Dec 2008
Location: Louisville, OH
Distribution: Debian, CentOS, Slackware, RHEL, Gentoo
Posts: 1,833

Rep: Reputation: 164Reputation: 164
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 05:48 PM.


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 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 08:37 PM
Login domain users thru TTY / Terminal j3r3my86 Linux - Networking 3 07-24-2008 12:44 PM
TTY and System Terminal mail linx001 Linux - General 2 12-06-2005 05:43 PM
Detecting TTY terminal messages? stockwatch Linux - Security 5 05-23-2005 09:40 PM
tty usb terminal? DarkstarNL Linux - Hardware 0 04-21-2004 10:34 AM > Forums > Linux Forums > Linux - Distributions > Gentoo

All times are GMT -5. The time now is 03:04 AM.

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