-   Linux - General (
-   -   SSH to local console (tty) (

mastrboy 08-11-2007 09:46 AM

SSH to local console (tty)
Using putty from windows, is it possible to ssh into the local tty console?

Or change to the local console after logged in?

(after googling for some time, i can't find any relevant info)

acid_kewpie 08-11-2007 09:48 AM

not *the* local console no, but check out "screen", it's probably the closest thing to what you're after.

mastrboy 08-11-2007 10:06 AM

i have used screen before, but i will take a closer look at the features and see if i find something useful.. thanks

mastrboy 01-14-2010 07:59 AM

i finally found a solution:

Creates a vnc server of /dev/tty#

acid_kewpie 01-14-2010 11:19 AM

Hmm, interesting, I'm currently looking at using a Screen setup to achieve something similar but can't find any realistic way to make view of a terminal read only for some users.

mastrboy 01-15-2010 06:07 AM

read only mode is possible with screen, i have a text file saved with some info on how to do it:

Create new session:
screen -S test

Activate multiuser mode:
multiuser on

Add allowed user(s):
acladd $username

Remove write rights from session:
aclchg $username -w "#"

Command to connect to session for the user:
screen -x test

acid_kewpie 01-15-2010 06:54 AM

Yeah, but thn you'v got the setuid issues around the binary and other nasties AFAIR.

All times are GMT -5. The time now is 12:57 AM.