On Tue, 16 Sep 2003 08:02:39 -0400
"Reuben D. Budiardja" <[EMAIL PROTECTED]> wrote:

> 
> Hi,
> I remember this is being asked here long time ago, but I couldn't find it in 
> the archive, probably due to inaccurate search terms.
> 
> Anyway, I am wondering if there is a way to watch an SSH session. Suppose a 
> friend of mine is accessing my computer remotely to do some configuration via 
> SSH. Is there a way for me to literally watching him from local to see all 
> that he is doing on the terminal, comand by comand? Suppose both of us have 
> root access.
> This is not because I don't trust the person, but for learning purposes.
> 

Hi Reuben,

This solution doesn't really have anything to do with ssh but should work for you.
Log in as root and start the screen text window manager:

# screen

Once  your friend is connected as root via ssh they type:

# screen -x

This will connect both screens together.   Either of you can type and both will see
the result of any commands executed.

Cheers,
Sean


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list

Reply via email to