LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   ssh session via windows to display simultaneously on tty (https://www.linuxquestions.org/questions/linux-newbie-8/ssh-session-via-windows-to-display-simultaneously-on-tty-878727/)

leo27 05-04-2011 04:01 AM

ssh session via windows to display simultaneously on tty
 
hello there!

newbie here. no knowledge on scripting. just installed linux on one of my computers. i can access the linux box remotely via ssh using putty running under windows. i was able to configure linux to accept remote connection by following a tutorial i found on the internet.
now, i want my ssh session to display everything i do remotely on the monitor of my linux box in real time. can anyone show me how to do it, or just point me to some readings that address this matter. thank you so much.

linux baby

jason_not 05-04-2011 10:29 AM

Hi,

I am guessing, but I can think of only a couple of relevent things:

first, When you use ssh to login, the ssh daemon on the linux system allocates a tty/pty device exclusively for your session. This is not going to be the same tty as your console. Thus, it's a totally different input/output channel.

second: I imagine the method would be a piece of code that replicated everything typed and echoed in your login session to be echoed on the console. However, that's not the same as there being an active login on your console. thus, you could see the activity, but you couldn't share a login that way.

The one or two times I have seen something like this was a messy hack. I don't actually know how to reproduce it myself.

Sorry I couldn't help much...

--jason


All times are GMT -5. The time now is 11:52 PM.