Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I know how to SSH into a Linux machine from a generic terminal.

My question is: Can I use a terminal only to display the contents on an existing console on the remote machine, ignoring my local keyboard input?

In other words:

Start a console session on A. Use A's keyboard for that console session. But use B's screen.

I realize VNC could accomplish this, but I'm looking for a pure console version.

share|improve this question

1 Answer 1

I'd suggest having a look at "screen". As per this page it is possible to set a user as read only as your requirements suggest.

share|improve this answer
7  
or tmux (which is screen on crack), and byobu (screen in a pretty dress) –  crasic Aug 7 '11 at 21:19
    
+1 for this is an excellent suggestion (I use it regularly). Note that it's sometimes also referred to as "GNU Screen." (I also tried TMUX, which also seems quite good and also uses different keystrokes so you can use the two of them together; +1 for @crasic's comment too). With these solutions you can "detach" from the console, logout, then connect again later with a new SSH session (even from an entirely different site), and "re-attach" to continue where you left off. –  Randolf Richardson Aug 7 '11 at 21:45

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.